Skip to content

Interface: RpcHandlerContext ​

Defined in: netconf/src/testing/fake-server.ts:64

What an RpcHandler gets with each request, besides the <rpc> element.

Properties ​

messageId ​

ts
readonly messageId: string | undefined;

Defined in: netconf/src/testing/fake-server.ts:66

The message-id attribute of the request, if any.


operation ​

ts
readonly operation: XmlElement | undefined;

Defined in: netconf/src/testing/fake-server.ts:68

The operation element: the first child of <rpc>.


server ​

ts
readonly server: FakeServer;

Defined in: netconf/src/testing/fake-server.ts:70

The server answering, for sending notifications or ending the session from a handler.

Released under the MIT Licence.