closeReadWithError
TypeScriptcloseReadWithError(error?: (NativeError) | null): voidSwift declarationfunc closeReadWithError(_ error: (any Error)?)class · iOS 9.0+ · SDK 27.1
class NEAppProxyFlowcloseReadWithError(error?: (NativeError) | null): voidSwift declarationfunc closeReadWithError(_ error: (any Error)?)closeWriteWithError(error?: (NativeError) | null): voidSwift declarationfunc closeWriteWithError(_ error: (any Error)?)static init(): NEAppProxyFlowSwift declarationinit()open(localEndpoint: (NWHostEndpoint) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc open(withLocalEndpoint localEndpoint: NWHostEndpoint?) async throwsget isBound(): booleanSwift declarationvar isBound: Bool { get }get metaData(): NEFlowMetaDataSwift declarationvar metaData: NEFlowMetaData { get }get networkInterface(): (SDKHandle) | nullSwift declaration@NSCopying var networkInterface: nw_interface_t? { get set }set networkInterface(value: (Implements<_Network_OS_nw_interface> | SDKHandle) | null)Swift declaration@NSCopying var networkInterface: nw_interface_t? { get set }get remoteHostname(): (string) | nullSwift declarationvar remoteHostname: String? { get }setMetadata(parameters: _Network_NWParameters): voidSwift declarationfunc 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 interface(): (_Network_NWInterface) | nullSwift declarationvar 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 interface(value: (_Network_NWInterface) | null)Swift declarationvar 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.
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