FMHttpResponseArgs Class Reference

Inherits from NSObject
Declared in FM.h

Overview

Arguments for receiving an HTTP response.

– binaryContent

Gets the binary content read from the HTTP response.

- (NSMutableData *)binaryContent

Discussion

Gets the binary content read from the HTTP response.

Declared In

FM.h

– exception

Gets the exception generated while completing the request.

- (NSException *)exception

Discussion

Gets the exception generated while completing the request.

Declared In

FM.h

– headers

Gets the headers read from the HTTP response.

- (FMNameValueCollection *)headers

Discussion

Gets the headers read from the HTTP response.

Declared In

FM.h

+ httpResponseArgsWithRequestArgs:

Initializes a new instance of the class.

+ (FMHttpResponseArgs *)httpResponseArgsWithRequestArgs:(FMHttpRequestArgs *)requestArgs

Parameters

name="requestArgs">The

request arguments.

Discussion

Initializes a new instance of the class.

Declared In

FM.h

– initWithRequestArgs:

Initializes a new instance of the class.

- (id)initWithRequestArgs:(FMHttpRequestArgs *)requestArgs

Parameters

name="requestArgs">The

request arguments.

Discussion

Initializes a new instance of the class.

Declared In

FM.h

– requestArgs

Gets the original .

- (FMHttpRequestArgs *)requestArgs

Discussion

Gets the original .

Declared In

FM.h

– setBinaryContent:

Sets the binary content read from the HTTP response.

- (void)setBinaryContent:(NSMutableData *)value

Discussion

Sets the binary content read from the HTTP response.

Declared In

FM.h

– setException:

Sets the exception generated while completing the request.

- (void)setException:(NSException *)value

Discussion

Sets the exception generated while completing the request.

Declared In

FM.h

– setRequestArgs:

Sets the original .

- (void)setRequestArgs:(FMHttpRequestArgs *)value

Discussion

Sets the original .

Declared In

FM.h

– setStatusCode:

Sets the status code read from the HTTP response.

- (void)setStatusCode:(int)value

Discussion

Sets the status code read from the HTTP response.

Declared In

FM.h

– setTextContent:

Sets the text content read from the HTTP response.

- (void)setTextContent:(NSString *)value

Discussion

Sets the text content read from the HTTP response.

Declared In

FM.h

– statusCode

Gets the status code read from the HTTP response.

- (int)statusCode

Discussion

Gets the status code read from the HTTP response.

Declared In

FM.h

– textContent

Gets the text content read from the HTTP response.

- (NSString *)textContent

Discussion

Gets the text content read from the HTTP response.

Declared In

FM.h