* switch to xhr.post() almost everywhere
* call App.handlerpcjson() automatically on json request (if possible) * show net/log indicators in prefs
This commit is contained in:
@@ -64,6 +64,14 @@ class RPC extends Handler_Protected {
|
||||
print json_encode(array("message" => "UPDATE_COUNTERS"));
|
||||
}
|
||||
|
||||
function getRuntimeInfo() {
|
||||
$reply = [
|
||||
'runtime-info' => $this->make_runtime_info()
|
||||
];
|
||||
|
||||
print json_encode($reply);
|
||||
}
|
||||
|
||||
function getAllCounters() {
|
||||
@$seq = (int) $_REQUEST['seq'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user