socket#
idle connection#
due to the serverless nature of the websocket, if the client's connection is idle for about 10 minutes, the client may get disconnected automatically;
it is recommended to set up a re-connection logic or ping the socket whenever the connection has been idle for almost the specified duration above - learn more on ping;sending requests#
all body requests, emitted from the client to the socket, have an action attribute, which tells the server what action to perform;receiving responses#
all responses, emitted from the socket to the client, have a type attribute, which lets the client know what kind of response it is;handshake#
connected clients need to be authenticated before emitting to the sockets; see handshakeModified at 2025-11-01 10:26:05