Home > @rainway/web > RainwayConnection > cancelConnectionAttempt
RainwayConnection.cancelConnectionAttempt() method
Cancel the pending connection attempt to a hostname, if there is one.
Signature:
cancelConnectionAttempt(peerId: PeerId): void;
Parameters
Parameter | Type | Description |
---|---|---|
peerId | PeerId |
Returns:
void