Instance Method

cancelProxyWithError(_:)

Cancels the DNS proxy.

Declaration

func cancelProxyWithError(_ error: Error?)

Parameters

error

An error instance containing details about the problem that the proxy provider implementation encountered.

Discussion

Call this method from within the proxy provider when you need to stop the proxy due to a network error that renders the proxy no longer viable.

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