111 const DefaultSendEncoding =
"gzip";
114 const RequiredOptions = ...;
175 "cls": Class::forName(
"SewioRestConnection"),
176 "options": RestConnection::ConnectionScheme.options + {
177 "data": <ConnectionOptionInfo>{
179 "desc":
"data serialization options are limited to `json` with this object",
183 "desc":
"use JSON serialization",
186 "default_value":
"json",
188 "send_encoding": <ConnectionOptionInfo>{
190 "desc":
"this sets the send encoding",
194 "desc":
"use GNU zip encoding ([RFC 1952](https://tools.ietf.org/html/rfc1952))",
195 }, <AllowedValueInfo>{
197 "desc":
"use bzip2 encoding",
198 }, <AllowedValueInfo>{
200 "desc":
"use the deflate algorithm ([RFC 1951](https://tools.ietf.org/html/rfc1951))",
201 }, <AllowedValueInfo>{
203 "desc":
"use no content encoding",
208 "apikey": <ConnectionOptionInfo>{
210 "desc":
"the Sewio RTLS Studio API key",
227 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {})
const DefaultSendEncoding
default send encoding
Definition: SewioRestClient.qm.dox.h:111
const RequiredOptions
required options
Definition: SewioRestClient.qm.dox.h:114
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:170
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:174
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:102