135 namespace YamlRpcClient {
164 "default_path":
"YAML",
168 const VersionString = sprintf(
"Qore-YAML-RPC-Client/%s", YamlRpcClient::Version);
172 "Content-Type": MimeTypeYamlRpc +
";charset=utf-8",
173 "Accept": MimeTypeYamlRpc,
174 "User-Agent": YamlRpcClient::VersionString,
179 int flags = YAML::None;
196 constructor(hash opts = hash(),
bool do_not_connect = False) ;
210 any
callArgs(
string method, any args);
226 any
call(
string method);
230 static string makeRequest(
string method, any arg,
int flags = YAML::None);
259 constructor(
string name,
string desc,
string url,
bool monitor, *hash opts, hash urlh) ;
296 static YamlRpcConnection make(
string name,
string desc,
string url,
bool monitor, *hash opts, hash urlh);
const VersionString
YAML-RPC Client Version String.
Definition: YamlRpcClient.qm.dox.h:168
const Version
YAML-RPC Client Version.
Definition: YamlRpcClient.qm.dox.h:150
defines a YAML-RPC client class
Definition: YamlRpcClient.qm.dox.h:146
class for YAML-RPC connections; returns YamlRpcClient objects
Definition: YamlRpcClient.qm.dox.h:243
const DefaultOptions
default options for the YamlRpcClient::constructor()
Definition: YamlRpcClient.qm.dox.h:153
const DefaultHeaders
default HTTP headers
Definition: YamlRpcClient.qm.dox.h:171
string getType()
returns "yamlrpc"
constructor(string name, string desc, string url, bool monitor, *hash opts, hash urlh)
creates the YamlRpcConnection object
static YamlRpcConnection make(string name, string desc, string url, bool monitor, *hash opts, hash urlh)
static constructor
any callArgs(string method, any args)
makes a call to the YAML-RPC server using the second argument as the list of arguments to send ...
YamlRpcClient getImpl(bool connect=True, *hash rtopts)
returns a YamlRpcClient::YamlRpcClient object
static string makeRequest(string method, any arg, int flags=YAML::None)
makes a YAML-RPC request string
constructor(hash opts=hash(), bool do_not_connect=False)
calls the base class HTTPClient constructor, overrides the "protocols" key to "yamlrpc" ...
hash getOptions()
gets options
*hash getDefaultOptions()
returns default options
any callArgsWithInfo(reference info, string method, any args)
makes a call to the YAML-RPC server using the third argument as the list of arguments to send ...
any call(string method)
makes a method call to the YAML-RPC server using the remaining arguments after the method name as the...