Instance Property

cachedResponse

The protocol’s cached response.

Declaration

@property(readonly, copy) NSCachedURLResponse *cachedResponse;

Discussion

If not overridden in a subclass, this method returns the cached response stored at initialization time.

See Also

Getting Protocol Attributes

client

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

NSURLProtocolClient

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

request

The protocol’s request.

task

The protocol’s task.