Contents

nw_connection_restart(_:)

Restarts a connection that is in the waiting state.

Declaration

func nw_connection_restart(_ connection: nw_connection_t)

Discussion

Restart a connection when it is in the waiting state and you have reason to believe the connection may succeed if it tries again. Connections that are waiting will automatically restart on network path changes.

See Also

Functions