httpd/router
Api Code Documentation / Exports / httpd/router
#
Table of contents#
Functions#
Functions#
registerRoutesâ–¸ registerRoutes(server
, conn
, urlPrefix
, blockchainHost
, blockchainPort
, storageServiceClient
, invalidateCache
): FastifyInstance
<Server
, IncomingMessage
, ServerResponse
, FastifyLoggerInstance
>
#
ParametersName | Type |
---|---|
server | FastifyInstance <Server , IncomingMessage , ServerResponse , FastifyLoggerInstance > |
conn | ConnToken |
urlPrefix | string |
blockchainHost | string |
blockchainPort | number |
storageServiceClient | default |
invalidateCache | () => void |
#
ReturnsFastifyInstance
<Server
, IncomingMessage
, ServerResponse
, FastifyLoggerInstance
>