There was an error while loading. Please reload this page.
1 parent 4252b71 commit c3f5824Copy full SHA for c3f5824
1 file changed
Sources/SBTUITestTunnelCommon/include/NSURLRequest+HTTPBodyFix.h
@@ -21,7 +21,7 @@
21
@interface NSURLRequest (HTTPBodyFix)
22
23
/// Reads data from an NSInputStream
24
-+ (NSData *)sbt_readFromBodyStream:(NSInputStream *)stream;
++ (nullable NSData *)sbt_readFromBodyStream:(nullable NSInputStream *)stream;
25
26
/// Extracts HTTP body data from a request using multiple fallback strategies:
27
/// 1. Direct HTTPBody property
@@ -40,9 +40,9 @@
40
- (void)sbt_markUploadTaskRequest;
41
42
/// Fetches an upload task's body from NSURLProtocol
43
-- (NSData *)sbt_uploadHTTPBody;
+- (nullable NSData *)sbt_uploadHTTPBody;
44
45
/// Returns a copy of the request without the HTTP body
46
-- (NSURLRequest *)sbt_copyWithoutBody;
+- (nonnull NSURLRequest *)sbt_copyWithoutBody;
47
48
@end
0 commit comments