One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NWHostEndpoint

class · iOS 9.0+ · Deprecated in iOS 18.0 · SDK 27.1

class NWHostEndpoint

Members (3)

init · iOS 9.0+ · Deprecated in iOS 18.0

init

TypeScript
static init(hostname: string, port: string): NWHostEndpoint
Swift declaration
convenience init(hostname: String, port: String)
get · iOS 9.0+ · Deprecated in iOS 18.0

hostname

TypeScript
get hostname(): string
Swift declaration
var hostname: String { get }
get · iOS 9.0+ · Deprecated in iOS 18.0

port

TypeScript
get port(): string
Swift declaration
var port: String { get }

Skipped declarations

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

NWHostEndpoint.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All NetworkExtension types →