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

Overview

A multipart object that it’s contents are initialized from a I/O stream.

Instance Methods

initWithInputStream:name:fileName:length:mimeType:

Initialize a multipart object from an input stream.

- (id)initWithInputStream:(NSInputStream *)inputStream name:(NSString *)name fileName:(NSString *)fileName length:(unsigned long long)length mimeType:(NSString *)mimeType

Parameters

inputStream

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

length

The total length of bytes of this input stream

mimeType

The MIME type to be associated with the specified data.

Discussion

Initialize a multipart object from an input stream.

Declared In

AGMultipart.h