FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
NSURLRequest Multipart Form POST extension. More...
#import <NSURLRequest.h>
Instance Methods | |
(void) | - setHTTPMultiPartFormPostBody:encoding: |
Sets the request body of the receiver to the specified data from bodyDictionary and given encoding as multipart form post format. More... | |
NSURLRequest Multipart Form POST extension.
This category implements Multipart Form POST using NSAURLRequestHTTPBodyMultiPartFormPostFormatter
- (void) setHTTPMultiPartFormPostBody: | (NSDictionary *) | bodyDictionary | |
encoding: | (NSStringEncoding) | encoding | |
Sets the request body of the receiver to the specified data from bodyDictionary and given encoding as multipart form post format.
bodyDictionary | The new request body of the receiver to the specified data from dictionary with multipart form post format. Objects should be NSString or NSData compatible objects only. |
encoding | String encoding of bodyDictionary values. |