Instance Property

httpBody

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

Declaration

var httpBody: Data? { get set }

See Also

Accessing Request Components

var httpMethod: String?

The HTTP request method.

var url: URL?

The URL of the request.

var httpBodyStream: InputStream?

The stream used to deliver the HTTP body.

var mainDocumentURL: URL?

The main document URL associated with this request.