118 const RequiredOptions = ...;
122 const Version =
"1.0";
198 "cls": Class::forName(
"SewioWebSocketConnection"),
199 "options": WebSocketConnectionObject::ConnectionScheme.options + {
200 "apikey": <ConnectionOptionInfo>{
202 "desc":
"the Sewio RTLS Studio API key",
hash connectUnlocked(*hash hdr, *reference< hash > info)
connects to the target server and starts the event listener thread
constructor(code cb, hash opts)
creates the object and optionally sets logging targets
const RequiredOptions
required options
Definition: SewioWebSocketClient.qm.dox.h:118
sendData(string method, string resource, *hash h)
sends data to the server
const Version
module version
Definition: SewioWebSocketClient.qm.dox.h:122
static code getCallback(code cb)
extern callback wrapper to parse the JSON and call the user's callback with the deserialized data
hash getSchemes()
returns a hash of URL scheme information for URL schemes supported by this object
class for Sewio RTLS Studio websocket connections; returns an object of class SewioWebSocketClient fo...
Definition: SewioWebSocketClient.qm.dox.h:193
constructor(string name, string description, string url, hash attributes={}, hash options={})
creates the SewioWebSocketConnection connection object
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
const ConnectionScheme
Connection entry info.
Definition: SewioWebSocketClient.qm.dox.h:197
const Options
object connection options
Definition: SewioWebSocketClient.qm.dox.h:209
string getType()
returns "sewiows"
SewioWebSocketClient getImpl(bool connect=True, *hash rtopts)
returns a SewioWebSocketClient object
the SewioWebSocketClient namespace contains all the definitions in the SewioWebSocketClient module
Definition: SewioWebSocketClient.qm.dox.h:90
const WsSchemes
known websocket schemes
Definition: SewioWebSocketClient.qm.dox.h:92