Instance Method

cancelProxyWithError:

Stop the network proxy from the App Proxy Provider.

Declaration

- (void)cancelProxyWithError:(NSError *)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.

See Also

Managing the App Proxy Life Cycle

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