104 const Version =
"1.3";
107 const InternalMethods = (
109 "help":
"shows a list of JSON-RPC methods registered with this handler",
113 (
"function":
"listMethods",
114 "help":
"lists JSON-RPC method names registered with this handler",
115 "text":
"system.listMethods",
118 (
"function":
"systemDescribe",
119 "help":
"returns the service description object as per the JSON-RPC 1.1 spec",
120 "text":
"system.describe",
125 const JRE_ParseError = -32700;
128 const JRE_InvalidRequest = -32600;
131 const JRE_MethodNotFound = -32601;
134 const JRE_InvalidParams = -32602;
137 const JRE_InternalError = -32603;
177 constructor(HttpServer::AbstractAuthenticator n_auth, list n_methods, *code n_getLogMessage,
bool n_dbg = False, *
string n_get_prefix, *code n_log) ;
188 addMethod(
string name, code func,
string text,
string help,
auto logopt,
auto cmark);
192 setDebug(
bool dbg = True);
203 final addMethodInternal(hash h);
215 hash systemDescribe();
227 log(hash cx,
string str);
234 final hash callMethod(hash cx,
auto params);
240 final hash handleRequest(hash cx, hash hdr, *data body);
245 hash processBatchMessage(hash cx, list l);
the JsonRpcHandler namespace holds all public definitions in the JsonRpcHandler module ...
Definition: JsonRpcHandler.qm.dox.h:95