One Logo Pool Ball
Network · IOS API REFERENCE

NWConnection.EstablishmentReport.Resolution

struct · iOS 13.0+ · SDK 27.1

struct Resolution

A Resolution report represents one step of endpoint resolution.

Members (6)

get · iOS 14.0+

dnsProtocol

TypeScript
get dnsProtocol(): NWConnection_EstablishmentReport_Resolution_DNSProtocol
Swift declaration
var dnsProtocol: NWConnection.EstablishmentReport.Resolution.DNSProtocol { get }

The DNS protocol used for endpoint resolution.

get · iOS 13.0+

endpointCount

TypeScript
get endpointCount(): number
Swift declaration
let endpointCount: Int

The number of resolved endpoints discovered by the resolution step.

get · iOS 13.0+

preferredEndpoint

TypeScript
get preferredEndpoint(): NWEndpoint
Swift declaration
let preferredEndpoint: NWEndpoint

The first resolved endpoint attempted, which may be the same as the successfulEndpoint.

get · iOS 13.0+

successfulEndpoint

TypeScript
get successfulEndpoint(): NWEndpoint
Swift declaration
let successfulEndpoint: NWEndpoint

The resolved endpoint that led to a successful connection.

get · iOS 13.0+

source

TypeScript
get source(): NWConnection_EstablishmentReport_Resolution_Source
Swift declaration
let source: NWConnection.EstablishmentReport.Resolution.Source

The source of this resolution.

get · iOS 13.0+

duration

TypeScript
get duration(): number
Swift declaration
let duration: TimeInterval

The length of time in seconds spent on this resolution step.

Skipped declarations

No declarations were skipped in this snapshot.

All Network types →