 |
Qore YamlRpcClient Module Reference
1.4
|
167 const Version =
"1.0";
170 const DefaultOptions = {
181 "default_path":
"YAML",
185 const VersionString = sprintf(
"Qore-YAML-RPC-Client/%s", YamlRpcClient::Version);
188 const DefaultHeaders = {
189 "Content-Type": MimeTypeYamlRpc +
";charset=utf-8",
190 "Accept": MimeTypeYamlRpc,
191 "User-Agent": YamlRpcClient::VersionString,
196 int flags = YAML::None;
247 static string makeRequest(
string method,
auto arg,
int flags = YAML::None);
263 hash<auto> real_opts;
276 constructor(
string name,
string desc,
string url,
bool monitor, *hash opts, hash urlh)
289 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {})
*hash< auto > getDefaultOptions()
returns default options
auto callArgs(string method, auto args)
makes a call to the YAML-RPC server using the second argument as the list of arguments to send
static string makeRequest(string method, auto arg, int flags=YAML::None)
makes a YAML-RPC request string
constructor(bool do_not_connect=False)
simple constructor using default arguments
string getType()
returns "yamlrpc"
hash< auto > getOptions()
gets options
class for YAML-RPC connections; returns YamlRpcClient objects
Definition: YamlRpcClient.qm.dox.h:260
the YamlRpcClient namespace holds all public definitions in the YamlRpcClient module
Definition: YamlRpcClient.qm.dox.h:153
static deprecated YamlRpcConnection make(string name, string desc, string url, bool monitor, *hash opts, hash urlh)
DEPRECATED: static constructor.
YamlRpcClient getImpl(bool connect=True, *hash< auto > rtopts)
returns a YamlRpcClient::YamlRpcClient object
auto callArgsWithInfo(reference< auto > info, string method, auto args)
makes a call to the YAML-RPC server using the third argument as the list of arguments to send
constructor(string name, string description, string url, hash< auto > attributes={}, hash< auto > options={})
creates the YamlRpcConnection object
deprecated constructor(string name, string desc, string url, bool monitor, *hash opts, hash urlh)
DEPRECATED: creates the YamlRpcConnection object.
auto call(string method)
makes a method call to the YAML-RPC server using the remaining arguments after the method name as the...
constructor(hash opts=hash(), bool do_not_connect=False)
calls the base class HTTPClient constructor, overrides the "protocols" key to "yamlrpc"