Instance Property

HTTPBodyStream

The request body as an input stream.

Declaration

@property(retain) NSInputStream *HTTPBodyStream;

Discussion

The request body of the receiver will be this input stream. The entire contents of the stream will be sent as the body, as in an HTTP POST request. The input stream should be unopened and the receiver will take over as the stream’s delegate.

Setting a body stream clears any data in HTTPBody. These values are mutually exclusive.

See Also

Accessing Request Components

HTTPMethod

The HTTP request method.

URL

The URL being requested.

HTTPBody

The request body.

mainDocumentURL

The main document URL.