drop method

Future<void> drop()

Drops the socket from the server side.

The client reconnects on its own backoff schedule, re-answering the handshake automatically, so a test that wants to observe the reconnect need only wait it out.

Implementation

Future<void> drop() => _liveSocket.serverClose();