*/
bool WebSocketClientIsConnected(int client);
+/**
+ @brief suspend a WebSocket connection.
+ @param client Client fd.
+ @return 0 if success; non-0 otherwise. For details about error codes, see {@link WebsocketErrCode}.
+ */
+int WebsocketSuspend(int client);
+
+/**
+ @brief resume a WebSocket connection.
+ @param client Client fd.
+ @return 0 if success; non-0 otherwise. For details about error codes, see {@link WebsocketErrCode}.
+ */
+int WebsocketResume(int client);
+
#ifdef __cplusplus
}
#endif