| 
    FoundationExtension
    
   FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection. 
   | 
 
Multipart Form POST data formatter for NSMutableURLRequest. More...
#import <NSURLRequest.h>
  
 Instance Methods | |
| (instancetype) | - initWithEncoding: | 
| Initialize formatter with default encoding.  More... | |
| (void) | - appendBodyDataToFieldName:text: | 
| Appends text data to field name with default encoding.  More... | |
| (void) | - appendBodyDataToFieldName:text:encoding: | 
| Appends text data to field name with specified encoding.  More... | |
| (void) | - appendBodyDataToFieldName:data: | 
| Appends bytes data to field name.  More... | |
| (void) | - appendBodyDataToFieldName:fileName:data: | 
| Appends bytes data to field name with given filename.  More... | |
| (void) | - appendBodyDataEndian | 
| Appends body data endian.  More... | |
| (NSData *) | - HTTPBody | 
| Returns body data.  More... | |
Protected Attributes | |
| NSMutableData * | _body | 
| NSStringEncoding | _encoding | 
Multipart Form POST data formatter for NSMutableURLRequest.
| - (void) appendBodyDataEndian | 
Appends body data endian.
This should be called once after last data is appended.
| - (void) appendBodyDataToFieldName: | (NSString *) | fieldName | |
| data: | (NSData *) | data | |
Appends bytes data to field name.
| fieldName | Field name for data. | 
| data | Data to be appended. | 
| - (void) appendBodyDataToFieldName: | (NSString *) | fieldName | |
| fileName: | (NSString *) | fileName | |
| data: | (NSData *) | data | |
Appends bytes data to field name with given filename.
| fieldName | Field name for data. | 
| fileName | File name for data. | 
| data | Data to be appended. | 
| - (void) appendBodyDataToFieldName: | (NSString *) | fieldName | |
| text: | (NSString *) | textData | |
Appends text data to field name with default encoding.
| fieldName | Field name for data. | 
| textData | Text data to be appended. | 
| - (void) appendBodyDataToFieldName: | (NSString *) | fieldName | |
| text: | (NSString *) | textData | |
| encoding: | (NSStringEncoding) | encoding | |
Appends text data to field name with specified encoding.
| fieldName | Field name for data. | 
| textData | Text data to be appended. | 
| encoding | Text data encoding. | 
| - (NSData *) HTTPBody | 
Returns body data.
This should be called after -appendBodyDataEndian is called.
| - (instancetype) initWithEncoding: | (NSStringEncoding) | encoding | 
Initialize formatter with default encoding.
| encoding | Default encoding for formatter | 
      
  | 
  protected | 
      
  | 
  protected |