122 timeout timeout_ms = DefaultTimeout;
127 const DefaultTimeout = 15s;
129 const Version =
"1.0";
131 const DefaultUserAgent =
sprintf(
"Qore-WebSocketClient/%s", WebSocketClient::Version);
155 constructor(code cb,
hash opts);
185 hash connect(*
hash opts, *reference info);
206 nothing clearWarningQueue();
240 nothing setWarningQueue(
int warning_ms,
int warning_bs, Queue queue, any arg, timeout min_ms = 1s);
281 private eventLoop(code callback);
284 private logInfo(
string fmt);
287 private logError(
string fmt);
290 private logDebug(
string fmt);
293 private sendClose(
int code, *
string txtmsg);
296 private hash connectUnlocked(*
hash hdr, *reference info);
string sprintf(string fmt,...)
const WsSchemes
known websocket schemes
Definition: WebSocketClient.qm.dox.h:91
const WsDefaultPort
default port for connections
Definition: WebSocketClient.qm.dox.h:101
the WebSocketClient namespace contains all the definitions in the WebSocketClient module ...
Definition: WebSocketClient.qm.dox.h:89