Documents for @litert/websocket / Client / createSecureClient
Function: createSecureClient()
createSecureClient(
opts):IClient
Defined in: src/lib/Client.ts:306
Create a WebSocket client via HTTPS.
The client will not connect to the server automatically. You need to call the
connectmethod to establish the connection. Before callingconnect, you must setup the event listeners to handle the events emitted during the connection.
Parameters
opts
The options for the connection.
Returns
The secure WebSocket client.