WsSocketFactory is a factory that returns a WebSocket and a boolean indicating if the connection is encrypted. Client code is responsible for creating a W3C WebSocket compliant transport.
the url to connect to
the connection options
a promise that resolves to a WebSocket and a boolean indicating if the connection is encrypted
WsSocketFactory is a factory that returns a WebSocket and a boolean indicating if the connection is encrypted. Client code is responsible for creating a W3C WebSocket compliant transport.