SimpleWebSocket constructor
Constructs a SimpleWebSocket instance with the specified domain and query parameters.
The domain
parameter represents the domain or host address of the WebSocket server.
The queryParams
parameter contains additional query parameters to be included in the WebSocket URL.
Implementation
SimpleWebSocket(this._domain, this._queryParams);