118 const DataSerializationSupport = {
129 "out": \make_xmlrpc_value(),
134 const DeserializeYaml = (
138 const DeserializeXmlRpc = (
140 "in": \parse_xmlrpc_value(),
144 const DataDeserializationSupport = {
163 const Accept = AcceptList.join(
",");
166 const Version =
"1.3";
172 const DefaultHeaders = (
184 const DataSerializationOptions = (
198 const EncodingSupport = (
217 const CompressionThreshold = 1024;
258 constructor(*
hash opts, *softbool do_not_connect) ;
273 setSerialization(
string data =
"auto");
292 setSendEncoding(
string enc =
"auto");
311 setContentEncoding(
string enc =
"auto");
329 addDefaultHeaders(
hash h);
346 hash getDefaultHeaders();
363 *
string getSendEncoding();
376 string getSerialization();
404 hash get(
string path, any body, *reference info, *
hash hdr);
432 hash put(
string path, any body, *reference info, *
hash hdr);
460 hash post(
string path, any body, *reference info, *
hash hdr);
488 hash del(
string path, any body, *reference info, *
hash hdr);
492 private nothing prepareMsg(reference body, reference hdr,
string ct =
"Content-Type");
496 private nothing preparePath(reference path);
527 hash doRequest(
string m,
string path, any body, *reference info, softbool decode_errors =
True, *
hash hdr);
531 hash sendAndDecodeResponse(*data body,
string m,
string path,
hash hdr, *reference info, *softbool decode_errors);
535 private decodeError(
hash h, *reference info);
539 decodeResponse(reference h, *reference info);
string sprintf(string fmt,...)
binary bzip2(binary bin, softint level=BZ2_DEFAULT_COMPRESSION)
binary gzip(string str, int level=Z_DEFAULT_COMPRESSION)
binary compress(string str, int level=Z_DEFAULT_COMPRESSION)
the RestClient namespace contains all the objects in the RestClient module
Definition: RestClient.qm.dox.h:111