Instance Property

httpBody

The request body.

Declaration

var httpBody: Data? { get }

Discussion

This data is sent as the message body of a request, as in an HTTP POST request.

See Also

Accessing Request Components

var httpMethod: String?

The HTTP request method.

var url: URL?

The URL being requested.

var httpBodyStream: InputStream?

The request body as an input stream.

var mainDocumentURL: URL?

The main document URL associated with the request.