WebSocketClientState.initial constructor

WebSocketClientState.initial()

The initial state of the web socket client. WebSocket client state.

{@category Client} {@category Entity}

Implementation

factory WebSocketClientState.initial() => WebSocketClientState.closed(
      closeCode: WebSocketStatusCodes.normalClosure.code,
      closeReason: 'INITIAL_CLOSED_STATE',
    );