The options for the Websocket manager.
Optional lastThe last message ID.
Readonly optionsThe options for the Websocket manager.
Optional pingThe ping of the websocket connection.
Optional pingedThe date the websocket was pinged.
Optional Readonly proxyThe proxy URL of the Websocket API.
Optional readyThe date the websocket is ready.
The anount of times the websocket has been reconnected.
Optional socketThe websocket.
Optional tokenThe auth token for the websocket.
Optional Readonly versionThe version of the Websocket API.
Whether the websocket is ready.
The timestamp the websocket was pinged.
The timestamp of when the websocket is ready.
How long the websocket has been connected.
The URL of the Websocket.
Connect to the Websocket API.
The Websocket manager.
ws.connect('token');
The auth token.
Disconnect from the Websocket API.
The websocket manager.
ws.disconnect();
The Websocket manager for the Guilded API.
Example