One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEAppProxyFlow

class · iOS 9.0+ · SDK 27.1

class NEAppProxyFlow

Members (12)

method · iOS 9.0+

closeReadWithError

TypeScript
closeReadWithError(error?: (NativeError) | null): void
Swift declaration
func closeReadWithError(_ error: (any Error)?)
method · iOS 9.0+

closeWriteWithError

TypeScript
closeWriteWithError(error?: (NativeError) | null): void
Swift declaration
func closeWriteWithError(_ error: (any Error)?)
init

init

TypeScript
static init(): NEAppProxyFlow
Swift declaration
init()
method · iOS 9.0+ · Deprecated in iOS 18.0

open

TypeScript
open(localEndpoint: (NWHostEndpoint) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func open(withLocalEndpoint localEndpoint: NWHostEndpoint?) async throws
get · iOS 14.3+

isBound

TypeScript
get isBound(): boolean
Swift declaration
var isBound: Bool { get }
get · iOS 9.0+

metaData

TypeScript
get metaData(): NEFlowMetaData
Swift declaration
var metaData: NEFlowMetaData { get }
get · iOS 13.4+

networkInterface

TypeScript
get networkInterface(): (SDKHandle) | null
Swift declaration
@NSCopying var networkInterface: nw_interface_t? { get set }
set · iOS 13.4+

networkInterface

TypeScript
set networkInterface(value: (Implements<_Network_OS_nw_interface> | SDKHandle) | null)
Swift declaration
@NSCopying var networkInterface: nw_interface_t? { get set }
get · iOS 14.2+

remoteHostname

TypeScript
get remoteHostname(): (string) | null
Swift declaration
var remoteHostname: String? { get }
method · iOS 18.0+

setMetadata

TypeScript
setMetadata(parameters: _Network_NWParameters): void
Swift declaration
func setMetadata(on parameters: NWParameters)

Set the flow's NEFlowMetaData object in an NWParameters object. The NWParameters object can then be used to create a connection that transparently proxies the flow's data, and provides accurate source app information to any subsequent NEAppProxyProvider instances that transparently proxy the flow. - Parameter parameters: An NWParameters object.

get · iOS 18.0+

interface

TypeScript
get interface(): (_Network_NWInterface) | null
Swift declaration
var interface: NWInterface? { get set }

An NWInterface containing information about the network interface used by the flow. If the flow's data is transported using a different interface, this property should be set to that interface.

set · iOS 18.0+

interface

TypeScript
set interface(value: (_Network_NWInterface) | null)
Swift declaration
var interface: NWInterface? { get set }

An NWInterface containing information about the network interface used by the flow. If the flow's data is transported using a different interface, this property should be set to that interface.

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NEAppProxyFlow.open(withLocalFlowEndpoint:completionHandler:)

The iOS SDK compiler rejected this binding: 'NWEndpoint' is ambiguous for type lookup in this context

NEAppProxyFlow.open(withLocalFlowEndpoint:)

The iOS SDK compiler rejected this binding: 'NWEndpoint' is ambiguous for type lookup in this context

All NetworkExtension types →