Instance Method

urlProtocolDidFinishLoading(_:)

Tells the client that the protocol implementation has finished loading.

Required.

Declaration

func urlProtocolDidFinishLoading(_ protocol: URLProtocol)

Parameters

protocol

The URL protocol object sending the message.

See Also

Indicating Loading Progress or Failure

func urlProtocol(URLProtocol, didFailWithError: Error)

Tells the client that the load request failed due to an error.

Required.

func urlProtocol(URLProtocol, didLoad: Data)

Tells the client that the protocol implementation has loaded some data.

Required.

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