104 const Version =
"1.3";
107 const InternalMethods = (
110 "help":
"shows a list of JSON-RPC methods registered with this handler",
115 "function":
"listMethods",
116 "help":
"lists JSON-RPC method names registered with this handler",
117 "text":
"system.listMethods",
121 "function":
"systemDescribe",
122 "help":
"returns the service description object as per the JSON-RPC 1.1 spec",
123 "text":
"system.describe",
129 const JRE_ParseError = -32700;
132 const JRE_InvalidRequest = -32600;
135 const JRE_MethodNotFound = -32601;
138 const JRE_InvalidParams = -32602;
141 const JRE_InternalError = -32603;
180 constructor(HttpServer::AbstractAuthenticator n_auth, list<auto> n_methods, *code n_getLogMessage,
bool n_dbg = False, *
string n_get_prefix, *code n_log) ;
191 addMethod(
string name, code func,
string text,
string help,
auto logopt,
auto cmark);
215 hash systemDescribe();
220 softlist<string> listMethods();
225 log(hash<auto> cx,
string str);
231 final hash callMethod(hash<auto> cx,
auto params);
237 final hash<auto> handleRequest(hash<auto> cx, hash<auto> hdr, *data body);
241 hash<auto> processBatchMessage(hash<auto> cx, list<auto> l);