112 const DefaultSendEncoding =
"gzip";
115 const RequiredOptions = ...;
189 "cls": Class::forName(
"SewioRestConnection"),
190 "options": RestConnection::ConnectionScheme.options + {
191 "data": <ConnectionOptionInfo>{
193 "desc":
"data serialization options are limited to `json` with this object",
197 "desc":
"use JSON serialization",
200 "default_value":
"json",
202 "send_encoding": <ConnectionOptionInfo>{
204 "desc":
"this sets the send encoding",
208 "desc":
"use GNU zip encoding ([RFC 1952](https://tools.ietf.org/html/rfc1952))",
209 }, <AllowedValueInfo>{
211 "desc":
"use bzip2 encoding",
212 }, <AllowedValueInfo>{
214 "desc":
"use the deflate algorithm ([RFC 1951](https://tools.ietf.org/html/rfc1951))",
215 }, <AllowedValueInfo>{
217 "desc":
"use no content encoding",
222 "apikey": <ConnectionOptionInfo>{
224 "desc":
"the Sewio RTLS Studio API key",
241 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {})
const DefaultSendEncoding
default send encoding
Definition: SewioRestClient.qm.dox.h:112
const RequiredOptions
required options
Definition: SewioRestClient.qm.dox.h:115
static hash getOptions(hash opts)
returns options for the RestClient::constructor()
constructor(hash< auto > opts, *softbool do_not_connect)
creates the object with the given options (which include the mandatory apikey option for Sewio....
class for Sewio.net's RTLS Studio REST connections; returns SewioRestClient::SewioRestClient objects
Definition: SewioRestClient.qm.dox.h:184
SewioRestClient getImpl(bool connect=True, *hash< auto >rtopts)
returns a SewioRestClient::SewioRestClient object
string getType()
returns "sewiorest"
constructor(string name, string description, string url, hash< auto > attributes={}, hash< auto > options={})
creates the SewioRestConnection object
const ConnectionScheme
Connection entry info.
Definition: SewioRestClient.qm.dox.h:188
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
the SewioRestClient namespace contains all the objects in the SewioRestClient module
Definition: SewioRestClient.qm.dox.h:103