Type Alias: RpcHandler
ts
type RpcHandler = (rpc, ctx) =>
| RpcHandlerResult
| Promise<RpcHandlerResult>;Defined in: netconf/src/testing/fake-server.ts:77
Answers each <rpc> the server receives, given the <rpc> element. See RpcHandlerResult for what it can return, and Replies.
Parameters
rpc
ctx
Returns
| RpcHandlerResult | Promise<RpcHandlerResult>