Instance Property


The main document URL associated with the request.


var mainDocumentURL: URL? { get }


This URL is used for the cookie “same domain as main document” policy.

See Also

Accessing Request Components

var httpMethod: String?

The HTTP request method.

var url: URL?

The URL being requested.

var httpBody: Data?

The request body.

var httpBodyStream: InputStream?

The request body as an input stream.