Inherits from NSObject
Conforms to AGMultipart
Declared in AGMultipart.h
AGMultipart.m

Overview

A multipart object that it’s contents are initialized from an NSData object

Instance Methods

initWithFileData:name:fileName:mimeType:

Initialize a multipart object from an data object.

- (id)initWithFileData:(NSData *)data name:(NSString *)name fileName:(NSString *)fileName mimeType:(NSString *)mimeType

Parameters

data

The data whose contents will be added on the request.

name

The name to be associated with the specified data.

fileName

The filename to be associated with the specified data.

mimeType

The MIME type to be associated with the specified data.

Discussion

Initialize a multipart object from an data object.

Declared In

AGMultipart.h