One Logo Pool Ball
Network · IOS API REFERENCE

NWProtocolQUIC.ApplicationError

struct · iOS 15.0+ · SDK 27.1

struct ApplicationError

Members (4)

init · iOS 15.0+

init

TypeScript
static initIntegerLiteral(code: number): NWProtocolQUIC_ApplicationError
Swift declaration
init(integerLiteral code: UInt64)

Creates an instance initialized to the specified integer value. Do not call this initializer directly. Instead, initialize a variable or constant using an integer literal. For example: let x = 23 In this example, the assignment to the `x` constant calls this integer literal initializer behind the scenes. - Parameter value: The value to create.

init · iOS 15.0+

init

TypeScript
static initCodeReason(code: number, reason?: (string) | null): NWProtocolQUIC_ApplicationError
Swift declaration
init(code: UInt64, reason: String? = nil)
get · iOS 15.0+

code

TypeScript
get code(): number
Swift declaration
let code: UInt64
get · iOS 15.0+

reason

TypeScript
get reason(): (string) | null
Swift declaration
let reason: String?

Skipped declarations

No declarations were skipped in this snapshot.

All Network types →