drop method

void drop()

The connection is lost without a close frame (code 1006).

Implementation

void drop() => fail(
  const WebSocketConnectionException(
    'Connection lost (fake)',
    failure: WebSocketConnectionFailure.lost,
  ),
);