summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-rpcc/luasrc/rpcc.luadoc
blob: 5609bfd751c47df8d50614121be4f99ae1564fea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---[[
LuCI RPC Client.

@cstyle instance
]]
module "luci.rpcc"

---[[
Create a new JSON-RPC stream client.

@class function
@param fd File descriptor
@param v1 Use protocol version 1.0
@return RPC Client
]]

---[[
Request an RP call and get the response.

@class function
@name Client.request
@param method Remote method
@param params Parameters
@param notification Notification only?
@return response 
]]

---[[
Create a transparent RPC proxy.

@class function
@name Client.proxy
@param prefix Method prefix
@return RPC Proxy object
]]