Instance Property


The request body as an input stream.


var httpBodyStream: InputStream? { get set }


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

Related Symbols

var httpBody: Data?

The request body of the receiver.