cancelProxyWithError(_:)
Stop the network proxy from the App Proxy Provider.
Declaration
func cancelProxyWithError(_ error: (any Error)?)Parameters
- error:
An Nserror object containing the error that caused the proxy to be stopped. The domain and code of this
NSErrorobject is defined by the caller.
Discussion
The App Proxy Provider should call this method when an unrecoverable error occurs that makes the proxy no longer viable.