NEAppProxyFlow
An abstract base class shared by NEAppProxyTCPFlow and NEAppProxyUDPFlow.
Declaration
class NEAppProxyFlowMentioned in
Overview
App Proxy Providers receive network connections to be proxied in the form of NEAppProxyFlow objects, which are passed to the App Proxy Provider via the handleNewFlow(_:) method.
NEAppProxyFlow objects are initially in an unopened state. Before they can be used to transmit network data, they must be opened using the open(withLocalEndpoint:completionHandler:) method. When you are finished with a flow, you should call closeReadWithError(_:) and closeWriteWithError(_:), and then release the NEAppProxyFlow object.