dnsProtocol
TypeScriptget dnsProtocol(): NWConnection_EstablishmentReport_Resolution_DNSProtocolSwift declarationvar dnsProtocol: NWConnection.EstablishmentReport.Resolution.DNSProtocol { get }The DNS protocol used for endpoint resolution.
struct · iOS 13.0+ · SDK 27.1
struct ResolutionA Resolution report represents one step of endpoint resolution.
get dnsProtocol(): NWConnection_EstablishmentReport_Resolution_DNSProtocolSwift declarationvar dnsProtocol: NWConnection.EstablishmentReport.Resolution.DNSProtocol { get }The DNS protocol used for endpoint resolution.
get endpointCount(): numberSwift declarationlet endpointCount: IntThe number of resolved endpoints discovered by the resolution step.
get preferredEndpoint(): NWEndpointSwift declarationlet preferredEndpoint: NWEndpointThe first resolved endpoint attempted, which may be the same as the successfulEndpoint.
get successfulEndpoint(): NWEndpointSwift declarationlet successfulEndpoint: NWEndpointThe resolved endpoint that led to a successful connection.
get source(): NWConnection_EstablishmentReport_Resolution_SourceSwift declarationlet source: NWConnection.EstablishmentReport.Resolution.SourceThe source of this resolution.
get duration(): numberSwift declarationlet duration: TimeIntervalThe length of time in seconds spent on this resolution step.
No declarations were skipped in this snapshot.