drop method

Future<void> drop()

Loses the connection without a close handshake, as a network failure does: the close status is CloseStatus.noCloseFrame (1006). Use it to test that the client reconnects.

Implementation

Future<void> drop() => _end(CloseStatus.noCloseFrame);