104 const Version =
"1.3";
107 const InternalMethods = ...;
111 const JRE_ParseError = -32700;
114 const JRE_InvalidRequest = -32600;
117 const JRE_MethodNotFound = -32601;
120 const JRE_InvalidParams = -32602;
123 const JRE_InternalError = -32603;
162 constructor(HttpServer::AbstractAuthenticator n_auth, list<auto> n_methods, *code n_getLogMessage,
bool n_dbg = False, *
string n_get_prefix, *code n_log) ;
173 addMethod(
string name, code func,
string text,
string help,
auto logopt,
auto cmark);
197 hash systemDescribe();
202 softlist<string> listMethods();
207 log(hash<auto> cx,
string str);
213 final hash callMethod(hash<auto> cx,
auto params);
219 final hash<auto> handleRequest(hash<auto> cx, hash<auto> hdr, *data body);
223 hash<auto> processBatchMessage(hash<auto> cx, list<auto> l);
final addMethodInternal(hash< auto > h)
@conf nodoc
bool getDebug()
returns the current status of the debug flag
constructor(HttpServer::AbstractAuthenticator n_auth, list< auto > n_methods, *code n_getLogMessage, bool n_dbg=False, *string n_get_prefix, *code n_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
setDebug(bool dbg=True)
turns on or off debugging; when debugging is enabled more verbose error messages are reported
the JsonRpcHandler namespace holds all public definitions in the JsonRpcHandler module
Definition: JsonRpcHandler.qm.dox.h:96