109 const Version =
"1.0";
112 const InternalMethods = ...;
151 constructor(HttpServer::AbstractAuthenticator v_auth, list v_methods, *code v_get_log_msg,
bool v_dbg = False, *
string v_get_prefix, *code v_log) ;
162 addMethod(
string name, code func,
string text,
string help,
auto logopt,
auto cmark);
182 final hash handleRequest(hash cx, hash hdr, *data body);
187 final addMethodInternal(hash h);
197 hash system_describe();
202 softlist<string> listMethods();
207 log(hash cx,
string str);
213 final hash callMethod(hash cx,
auto params);
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
constructor(HttpServer::AbstractAuthenticator v_auth, list v_methods, *code v_get_log_msg, bool v_dbg=False, *string v_get_prefix, *code v_log)
creates the handler with the given method list
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:101