cancel()
Cancel the connection.
Declaration
func cancel()Discussion
This will clean up the resources associated with this object and transition this object to the NWTCPConnectionStateCancelled state.
Cancel the connection.
func cancel()This will clean up the resources associated with this object and transition this object to the NWTCPConnectionStateCancelled state.