One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEAppProxyProvider

class · iOS 9.0+ · SDK 27.1

class NEAppProxyProvider

Members (5)

method · iOS 9.0+

cancelProxyWithError

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

handleNewFlow

TypeScript
handleNewFlow(flow: NEAppProxyFlow): boolean
Swift declaration
func handleNewFlow(_ flow: NEAppProxyFlow) -> Bool
init

init

TypeScript
static init(): NEAppProxyProvider
Swift declaration
init()
method · iOS 9.0+

startProxy

TypeScript
startProxy(options: (Record<string, unknown>) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func startProxy(options: [String : Any]? = nil) async throws
method · iOS 9.0+

stopProxy

TypeScript
stopProxy(reason: NEProviderStopReason, completionHandler: (() => void)): void
Swift declaration
func stopProxy(with reason: NEProviderStopReason) async

Skipped declarations

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

NEAppProxyProvider.handleNewUDPFlow(_:initialRemoteEndpoint:)

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

All NetworkExtension types →