Interface preParsingAsyncHookHandler<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler, TypeProvider, Logger>
interface preParsingAsyncHookHandler<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler, TypeProvider, Logger> ((this,
request,
reply,
payload) => Promise<unknown>) - preParsingAsyncHookHandler(this, request, reply, payload): Promise<unknown>
Parameters
- this: FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider>
- request: FastifyRequest<RouteGeneric, RawServer, RawRequest, SchemaCompiler, TypeProvider, ContextConfig, Logger, ResolveFastifyRequestType<TypeProvider, SchemaCompiler, RouteGeneric>>
- reply: FastifyReply<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler, TypeProvider, UndefinedToUnknown<KeysOf<RouteGeneric["Reply"]> extends never
? ResolveReplyFromSchemaCompiler<TypeProvider, SchemaCompiler>
: RouteGeneric["Reply"]>> - payload: RequestPayload
Returns Promise<unknown>