Options
All
  • Public
  • Public/Protected
  • All
Menu

Module framework/fastify

Index

Type Aliases

SessionRequest<TRequest>: TRequest & { session?: SessionContainer }

Type Parameters

  • TRequest extends OriginalFastifyRequest = OriginalFastifyRequest

Functions

  • errorHandler(): ((err: any, req: FastifyRequest, res: FastifyReply) => Promise<void>)
  • Returns ((err: any, req: FastifyRequest, res: FastifyReply) => Promise<void>)

      • (err: any, req: FastifyRequest, res: FastifyReply): Promise<void>
      • Parameters

        • err: any
        • req: FastifyRequest
        • res: FastifyReply

        Returns Promise<void>

  • plugin(instance: FastifyInstance<unknown, FastifyRequest, FastifyReply>, opts: unknown, done: ((err?: Error) => void)): void
  • Parameters

    • instance: FastifyInstance<unknown, FastifyRequest, FastifyReply>
    • opts: unknown
    • done: ((err?: Error) => void)
        • (err?: Error): void
        • Parameters

          • Optional err: Error

          Returns void

    Returns void

Generated using TypeDoc