RequestWithAgentRouter() function
Creates an expressjs router that adds a Veramo agent to the request object.
This is needed by all other routers provided by this package to be able to perform their functions.
Signature:
RequestWithAgentRouter: (options: RequestWithAgentRouterOptions) => Router
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
RequestWithAgentRouterOptions |
Initialization option |
Router
Expressjs router