One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEFilterSocketFlow

class · iOS 9.0+ · SDK 27.1

class NEFilterSocketFlow

Members (9)

init

init

TypeScript
static init(): NEFilterSocketFlow
Swift declaration
init()
get · iOS 9.0+ · Deprecated in iOS 18.0

localEndpoint

TypeScript
get localEndpoint(): (NWEndpoint) | null
Swift declaration
var localEndpoint: NWEndpoint? { get }
get · iOS 9.0+ · Deprecated in iOS 18.0

remoteEndpoint

TypeScript
get remoteEndpoint(): (NWEndpoint) | null
Swift declaration
var remoteEndpoint: NWEndpoint? { get }
get · iOS 14.0+

remoteHostname

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

socketFamily

TypeScript
get socketFamily(): number
Swift declaration
var socketFamily: Int32 { get }
get · iOS 9.0+

socketProtocol

TypeScript
get socketProtocol(): number
Swift declaration
var socketProtocol: Int32 { get }
get · iOS 9.0+

socketType

TypeScript
get socketType(): number
Swift declaration
var socketType: Int32 { get }
get · iOS 18.0+

localFlowEndpoint

TypeScript
get localFlowEndpoint(): (_Network_NWEndpoint) | null
Swift declaration
var localFlowEndpoint: NWEndpoint? { get }

The flow's local endpoint. This endpoint may be nil when `NEFilterDataProvider.handleNewFlow(_:)` is invoked and if so will be populated upon receiving network data. In such a case, filtering on the flow may still be performed based on its socket type, socket family or socket protocol.

get · iOS 18.0+

remoteFlowEndpoint

TypeScript
get remoteFlowEndpoint(): (_Network_NWEndpoint) | null
Swift declaration
var remoteFlowEndpoint: NWEndpoint? { get }

The flow's remote endpoint. This endpoint may be nil when `NEFilterDataProvider.handleNewFlow(_:)` is invoked and if so will be populated upon receiving network data. In such a case, filtering on the flow may still be performed based on its socket type, socket family or socket protocol.

Skipped declarations

No declarations were skipped in this snapshot.

All NetworkExtension types →