![]() |
Qore yaml Module 1.1.0
|
defines a YAML-RPC client class More...
#include <YamlRpcClient.qm.dox.h>
Inherits Qore::HTTPClient.
Public Member Methods | |
| auto | call (string method) |
| makes a method call to the YAML-RPC server using the remaining arguments after the method name as the list of arguments to send | |
Static Public Member Methods | |
| static string | makeRequest (string method, auto arg, int flags) |
| makes a YAML-RPC request string | |
defines a YAML-RPC client class
The YamlRpcClient class will correctly serialize YAML-RPC messages, send them to the server, deserialize the responses and return a Qore-language data structure for the response.
YAML-RPC is a proprietary HTTP-based RPC protocol; for a description of the YAML-RPC protocol implemented by the YamlRpcClient class, see YAML-RPC Protocol Implementation.
"/YAML" | auto YamlRpcClient::YamlRpcClient::call | ( | string | method | ) |
makes a method call to the YAML-RPC server using the remaining arguments after the method name as the list of arguments to send
| method | the remote method to call |
result key (see YAML-RPC Non-Error Responses), otherwise a hash is returned with an error key containing the error information (see YAML-RPC Error Responses)