diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-09-11 09:25:11 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-11 09:25:11 +0200 |
commit | f141433f5e38153e9dfbb8b320dfa70db1a47cf2 (patch) | |
tree | 3020f81be52e291f18921fae640c3d6c94afe1f1 /modules/luci-base/po | |
parent | 43d8e98a15072ff8f53d343a6a3fa1f59fcd175c (diff) |
luci-base: rpc.js: revamp error handling, add interceptor support
Add two new functions L.rpc.addInterceptor() and L.rpc.removeInterceptor()
which allow to register and remove interceptor functions which are invoked
before the rpc reply result promise is fulfilled.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/po')
0 files changed, 0 insertions, 0 deletions