Type Aliases
SessionRequest
Type Parameters
TRequest extends OriginalFastifyRequest = OriginalFastifyRequest
Functions
errorHandler
- 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
- 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)
Returns void