21 @property(readonly) NSURL *
URL;
25 @property(readonly) NSURLRequestNetworkServiceType networkServiceType;
32 #if MAC_OS_X_VERSION_10_4 <= MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_2_0 <= __IPHONE_OS_VERSION_MAX_ALLOWED
47 - (id)initWithURLFormat:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2) __deprecated;
49 - (id)initWithFilePath:(NSString *)filePath __deprecated;
51 - (id)initWithFilePathFormat:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2) __deprecated;
53 - (id)initWithAbstractPath:(NSString *)filePath __deprecated;
55 - (id)initWithAbstractPathFormat:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2) __deprecated;
58 + (id)URLRequestWithURLFormat:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2) __deprecated;
60 + (id)URLRequestWithFilePath:(NSString *)filepath __deprecated;
62 + (id)URLRequestWithFilePathFormat:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2) __deprecated;
64 + (id)URLRequestWithAbstractPath:(NSString *)filePath __deprecated;
66 + (id)URLRequestWithAbstractPathFormat:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2) __deprecated;
75 @property(retain) NSURL *
URL;
79 @property NSURLRequestNetworkServiceType networkServiceType;
86 #if MAC_OS_X_VERSION_10_4 <= MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_2_0 <= __IPHONE_OS_VERSION_MAX_ALLOWED
105 - (void)setHTTPPostBody:(NSDictionary *)bodyDictionary;
114 - (void)setHTTPPostBody:(NSDictionary *)bodyDictionary encoding:(NSStringEncoding)encoding
115 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101100 || __IPHONE_OS_VERSION_MAX_ALLOWED >= 90000
116 NS_DEPRECATED(10_0, 10_11, 2_0, 9_0, "Use -setHTTPPostBody: instead, which always uses the recommended UTF-8 encoding.")
135 - (instancetype)initWithEncoding:(NSStringEncoding)encoding;
141 - (void)appendBodyDataToFieldName:(NSString *)fieldName text:(NSString *)textData;
148 - (void)appendBodyDataToFieldName:(NSString *)fieldName text:(NSString *)textData encoding:(NSStringEncoding)encoding;
154 - (void)appendBodyDataToFieldName:(NSString *)fieldName data:(NSData *)data;
161 - (void)appendBodyDataToFieldName:(NSString *)fieldName fileName:(NSString *)fileName data:(NSData *)data;
167 - (void)appendBodyDataEndian;
194 - (void)setHTTPMultiPartFormPostBody:(NSDictionary *)bodyDictionary encoding:(NSStringEncoding)encoding;
NSTimeInterval timeoutInterval
Definition: NSURLRequest.h:23
NSURLRequestCachePolicy cachePolicy
Definition: NSURLRequest.h:76
NSMutableURLRequest POST extension.
Definition: NSURLRequest.h:97
NSString * HTTPMethod
Definition: NSURLRequest.h:30
NSInputStream * HTTPBodyStream
Definition: NSURLRequest.h:33
NSData * HTTPBody
Definition: NSURLRequest.h:31
NSURLRequest Multipart Form POST extension.
Definition: NSURLRequest.h:182
BOOL HTTPShouldHandleCookies
Definition: NSURLRequest.h:35
Multipart Form POST data formatter for NSMutableURLRequest.
Definition: NSURLRequest.h:126
NSStringEncoding _encoding
Definition: NSURLRequest.h:128
BOOL HTTPShouldUsePipelining
Definition: NSURLRequest.h:36
NSURLRequest property shortcuts for legacy compilers.
Definition: NSURLRequest.h:19
NSMutableData * _body
Definition: NSURLRequest.h:127
NSURL * URL
Definition: NSURLRequest.h:21
BOOL HTTPShouldHandleCookies
Definition: NSURLRequest.h:89
NSTimeInterval timeoutInterval
Definition: NSURLRequest.h:77
BOOL HTTPShouldUsePipelining
Definition: NSURLRequest.h:90
Deprecated creation shortcuts.
Definition: NSURLRequest.h:44
NSURL * mainDocumentURL
Definition: NSURLRequest.h:27
NSURLRequest property shortcuts for legacy compilers.
Definition: NSURLRequest.h:73
NSURLRequestCachePolicy cachePolicy
Definition: NSURLRequest.h:22
NSDictionary * allHTTPHeaderFields
Definition: NSURLRequest.h:29