Instance Method

urlProtocol(_:cachedResponseIsValid:)

Tells the client that a cached response is valid.

Required.

Declaration

func urlProtocol(_ protocol: URLProtocol, cachedResponseIsValid cachedResponse: CachedURLResponse)

Parameters

protocol

The URL protocol object sending the message.

cachedResponse

The cached response whose validity is being communicated.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software