125 timeout timeout_ms = DefaultTimeout;
130 const DefaultTimeout = 15s;
132 const Version =
"1.0";
134 const DefaultUserAgent =
sprintf(
"Qore-WebSocketClient/%s", WebSocketClient::Version);
158 constructor(code cb,
hash opts);
188 hash connect(*
hash opts, *reference info);
209 nothing clearWarningQueue();
243 nothing setWarningQueue(
int warning_ms,
int warning_bs, Queue queue, any arg, timeout min_ms = 1s);
284 private eventLoop(code callback);
287 private logInfo(
string fmt);
290 private logError(
string fmt);
293 private logDebug(
string fmt);
296 private sendClose(
int code, *
string txtmsg);
299 private hash connectUnlocked(*
hash hdr, *reference info);
string sprintf(string fmt,...)
const WsSchemes
known websocket schemes
Definition: WebSocketClient.qm.dox.h:94
const WsDefaultPort
default port for connections
Definition: WebSocketClient.qm.dox.h:104
the WebSocketClient namespace contains all the definitions in the WebSocketClient module ...
Definition: WebSocketClient.qm.dox.h:92