Instance Method

urlProtocol(_:didCancel:)

Tells the client that an authentication challenge has been canceled.

Required.

Declaration

func urlProtocol(_ protocol: URLProtocol, didCancel challenge: URLAuthenticationChallenge)

Parameters

protocol

The URL protocol object sending the message.

challenge

The authentication challenge that was canceled.

See Also

Handling Authentication Challenges

func urlProtocol(URLProtocol, didReceive: URLAuthenticationChallenge)

Tells the client that the URL Loading System received an authentication challenge.

Required.