FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSMutableURLRequest(NSAURLRequestHTTPBodyMultiPartFormPostFormatter) Category Reference

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...
 

Detailed Description

NSURLRequest Multipart Form POST extension.

This category implements Multipart Form POST using NSAURLRequestHTTPBodyMultiPartFormPostFormatter

Method Documentation

- (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.

Parameters
bodyDictionaryThe 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.
encodingString encoding of bodyDictionary values.
See also
setHTTPBody:
NSAURLRequestHTTPBodyMultiPartFormPostFormatter

The documentation for this category was generated from the following file: