WebSocketConnection constructor

const WebSocketConnection(
  1. Client client
)

Creates a new WebSocketConnection instance with the given client.

Implementation

const WebSocketConnection(Client client) : _client = client;