Instance Property

task

The protocol’s task.

Declaration

@NSCopying var task: URLSessionTask? { 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 request: URLRequest

The protocol’s request.