Instance Property

httpBodyStream

The stream used to deliver the HTTP body.

Declaration

var httpBodyStream: InputStream? { get set }

Discussion

The stream is returned for examination only; it’s unsafe for the caller to manipulate the stream in any way.

See Also

Accessing Request Components

var httpMethod: String?

The HTTP request method.

var url: URL?

The URL of the request.

var httpBody: Data?

The data sent as the message body of a request, such as for an HTTP POST request.

var mainDocumentURL: URL?

The main document URL associated with this request.