The request body as an input stream.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
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
http. These values are mutually exclusive.