Function

nw_establishment_report_get_duration_milliseconds(_:)

Checks the total duration of the successful connection establishment attempt, from the preparing state to the ready state.

Declaration

func nw_establishment_report_get_duration_milliseconds(_ report: nw_establishment_report_t) -> UInt64

See Also

Inspecting Connection Attempts

func nw_establishment_report_get_previous_attempt_count(nw_establishment_report_t) -> UInt32

Checks the number of attempts made before the successful attempt, when the connection moved from the preparing state back to the waiting state.

func nw_establishment_report_get_attempt_started_after_milliseconds(nw_establishment_report_t) -> UInt64

Accesses the time between the call to start and the beginning of the successful connection attempt, in milliseconds.