Instance Property

request

The protocol’s request.

Declaration

var request: URLRequest { get }

See Also

Getting Protocol Attributes

var cachedResponse: CachedURLResponse?

The protocol’s cached response.

var client: URLProtocolClient?

The object the protocol uses to communicate with the URL loading system.

protocol URLProtocolClient

The interface used by URLProtocol subclasses to communicate with the URL Loading System.

var task: URLSessionTask?

The protocol’s task.