httpd/router
Api Code Documentation / Exports / httpd/router
Table of contents
Functions
Functions
registerRoutes
▸ registerRoutes(server
, conn
, urlPrefix
, blockchainProtocol
, blockchainHost
, blockchainPort
, storageServiceClient
, invalidateCache
): FastifyInstance
<RawServerDefault
, IncomingMessage
, ServerResponse
<IncomingMessage
>, FastifyBaseLogger
, FastifyTypeProviderDefault
>
Parameters
Name | Type |
---|---|
server | FastifyInstance <RawServerDefault , IncomingMessage , ServerResponse <IncomingMessage >, FastifyBaseLogger , FastifyTypeProviderDefault > |
conn | ConnToken |
urlPrefix | string |
blockchainProtocol | "http" | "https" |
blockchainHost | string |
blockchainPort | number |
storageServiceClient | default |
invalidateCache | () => void |
Returns
FastifyInstance
<RawServerDefault
, IncomingMessage
, ServerResponse
<IncomingMessage
>, FastifyBaseLogger
, FastifyTypeProviderDefault
>