One Logo Pool Ball
Network · IOS API REFERENCE

NWConnection.EstablishmentReport.Handshake

struct · iOS 13.0+ · SDK 27.1

struct Handshake

A Handshake report represents one protocol in the connection's stack that negotiated with the peer.

Members (3)

get · iOS 13.0+

definition

TypeScript
get definition(): NWProtocolDefinition
Swift declaration
let definition: NWProtocolDefinition

The protocol definition associated with this handshake.

get · iOS 13.0+

handshakeRTT

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

The round-trip time observed by the handshake, in seconds.

get · iOS 13.0+

handshakeDuration

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

The length of time in seconds the protocol handshake took in total.

Skipped declarations

No declarations were skipped in this snapshot.

All Network types →