cancelProxyWithError(_:)
Cancels the DNS proxy.
Declaration
func cancelProxyWithError(_ error: (any 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.