One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEDNSProxyProvider

class · iOS 11.0+ · SDK 27.1

class NEDNSProxyProvider

Members (6)

method · iOS 11.0+

cancelProxyWithError

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

handleNewFlow

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

init

TypeScript
static init(): NEDNSProxyProvider
Swift declaration
init()
method · iOS 11.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 11.0+

stopProxy

TypeScript
stopProxy(reason: NEProviderStopReason, completionHandler: (() => void)): void
Swift declaration
func stopProxy(with reason: NEProviderStopReason) async
get · iOS 11.0+

systemDNSSettings

TypeScript
get systemDNSSettings(): (Array<NEDNSSettings>) | null
Swift declaration
var systemDNSSettings: [NEDNSSettings]? { get }

Skipped declarations

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

NEDNSProxyProvider.handleNewUDPFlow(_:initialRemoteEndpoint:)

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

All NetworkExtension types →