Contents

NEAppProxyFlow

An abstract base class shared by NEAppProxyTCPFlow and NEAppProxyUDPFlow.

Declaration

class NEAppProxyFlow

Mentioned 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.

Topics

Managing the flow life cycle

Accessing flow information

Errors

Instance Properties

Instance Methods

See Also

Flow handling