AgentRouter() function
Creates a router that exposes Agent methods remotely.
This can be used by AgentRestClient to instantiate the methods of this agent on the client.
Signature:
AgentRouter: (options: AgentRouterOptions) => Router
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
Initialization option |
Router
Expressjs router