WsSocketFactory is a factory that returns a WebSocket. Client code is responsible for creating a W3C WebSocket compliant transport. Whether the connection is encrypted is taken from the socket's url.
url
the url to connect to
the connection options
a promise that resolves to a WebSocket
WsSocketFactory is a factory that returns a WebSocket. Client code is responsible for creating a W3C WebSocket compliant transport. Whether the connection is encrypted is taken from the socket's
url.