185 const Version =
"1.0";
188 const DefaultOptions = ...;
192 const VersionString = sprintf(
"Qore-YAML-RPC-Client/%s", YamlRpcClient::Version);
195 const DefaultHeaders = ...;
200 int flags = YAML::None;
251 static string makeRequest(
string method,
auto arg,
int flags = YAML::None);
267 hash<auto> real_opts;
282 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {})
constructor(hash opts=hash(), bool do_not_connect=False)
calls the base class HTTPClient constructor, overrides the "protocols" key to "yamlrpc"
static string makeRequest(string method, auto arg, int flags=YAML::None)
makes a YAML-RPC request string
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(bool do_not_connect=False)
simple constructor using default arguments
auto call(string method)
makes a method call to the YAML-RPC server using the remaining arguments after the method name as the...
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
class for YAML-RPC connections; returns YamlRpcClient objects
Definition: YamlRpcClient.qm.dox.h:264
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
const ConnectionScheme
Connection entry info.
Definition: YamlRpcClient.qm.dox.h:270
YamlRpcClient getImpl(bool connect=True, *hash< auto > rtopts)
returns a YamlRpcClient::YamlRpcClient object
string getType()
returns "yamlrpc"
constructor(string name, string description, string url, hash< auto > attributes={}, hash< auto > options={})
creates the YamlRpcConnection object
the YamlRpcClient namespace holds all public definitions in the YamlRpcClient module
Definition: YamlRpcClient.qm.dox.h:171