restart()
Restarts a connection that is in the waiting state.
Declaration
final func restart()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.