Instance Property


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


var client: URLProtocolClient? { get }

See Also

Getting Protocol Attributes

var cachedResponse: CachedURLResponse?

The protocol’s cached response.

protocol URLProtocolClient

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

var request: URLRequest

The protocol’s request.

var task: URLSessionTask?

The protocol’s task.