111 const Version =
"1.0";
114 const InternalMethods = ...;
153constructor(HttpServer::AbstractAuthenticator auth, list<auto> methods, *code get_log_msg,
bool dbg = False, *
string get_prefix, *code log) ;
166 addMethod(
string name, code func,
string text,
string help,
auto logopt,
auto cmark);
186 final hash handleRequest(hash cx, hash<auto> hdr, *data body);
191 final addMethodInternal(hash h);
201 hash<auto> system_describe();
206 softlist<string> listMethods();
211 log(hash<auto> cx,
string str);
217 final hash<auto> callMethod(hash cx,
auto params);
constructor(HttpServer::AbstractAuthenticator auth, list< auto > methods, *code get_log_msg, bool dbg=False, *string get_prefix, *code log)
creates the handler with the given method list
addMethod(string name, code func, string text, string help, auto logopt, auto cmark)
adds a method to the handler dynamically
bool getDebug()
returns the current status of the debug flag
setDebug(bool dbg=True)
turns on or off debugging; when debugging is enabled more verbose error messages are reported
static string makeErrorResponse(int code, string mess, auto err, int flags=YAML::None)
serializes an error reponse in YAML-RPC format given the arguments
static string makeResponse(auto response, int flags=YAML::None)
serializes a reponse in YAML-RPC format given the arguments
the YamlRpcHandler namespace holds all public definitions in the YamlRpcHandler module
Definition: YamlRpcHandler.qm.dox.h:103