112 const RequiredOptions = (
118 const Version =
"1.0";
121 const DefaultUserAgent =
sprintf(
"Qore-SewioWebSocketClient/%s", SewioWebSocketClient::Version);
151 constructor(code cb,
hash opts) ;
155 sendData(
string method,
string resource, *
hash h);
165 hash connectUnlocked(*
hash hdr, *reference<hash> info);
172 static code getCallback(code cb);
string sprintf(string fmt,...)
class for Sewio RTLS Studio websocket connections; returns an object of class SewioWebSocketClient fo...
Definition: SewioWebSocketClient.qm.dox.h:192
static SewioWebSocketConnection make(string name, string desc, string url, bool monitor, *hash opts, hash urlh)
static constructor
hash getOptions()
gets options
SewioWebSocketClient getImpl(bool connect=True, *hash rtopts)
returns a SewioWebSocketClient object
const WsSchemes
known websocket schemes
Definition: SewioWebSocketClient.qm.dox.h:85
string getType()
returns "sewiowebsocket"
constructor(string name, string desc, string url, bool monitor, *hash opts, hash urlh)
creates the SewioWebSocketConnection object
*hash getDefaultOptions()
returns default options
the SewioWebSocketClient namespace contains all the definitions in the SewioWebSocketClient module ...
Definition: SewioWebSocketClient.qm.dox.h:83