Instance Method

cancelProxyWithError(_:)

Stop the network proxy from the App Proxy Provider.

Declaration

func cancelProxyWithError(_ error: Error?)

Parameters

error

An NSError object containing the error that caused the proxy to be stopped. The domain and code of this NSError object 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.