FastifyBodyParser Type — fastify Architecture
Architecture documentation for the FastifyBodyParser type/interface in content-type-parser.d.ts from the fastify codebase.
Entity Profile
Dependency Diagram
graph TD 1312075f_7538_5496_cf17_8a2cf68dcde4["FastifyBodyParser"] 2e10524a_1fe8_dc22_f632_c2913eba9c82["content-type-parser.d.ts"] 1312075f_7538_5496_cf17_8a2cf68dcde4 -->|defined in| 2e10524a_1fe8_dc22_f632_c2913eba9c82 style 1312075f_7538_5496_cf17_8a2cf68dcde4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
types/content-type-parser.d.ts lines 12–20
export type FastifyBodyParser<
RawBody extends string | Buffer,
RawServer extends RawServerBase = RawServerDefault,
RawRequest extends RawRequestDefaultExpression<RawServer> = RawRequestDefaultExpression<RawServer>,
RouteGeneric extends RouteGenericInterface = RouteGenericInterface,
SchemaCompiler extends FastifySchema = FastifySchema,
TypeProvider extends FastifyTypeProvider = FastifyTypeProviderDefault
> = ((request: FastifyRequest<RouteGeneric, RawServer, RawRequest, SchemaCompiler, TypeProvider>, rawBody: RawBody, done: ContentTypeParserDoneFunction) => void)
| ((request: FastifyRequest<RouteGeneric, RawServer, RawRequest, SchemaCompiler, TypeProvider>, rawBody: RawBody) => Promise<any>)
Defined In
Source
Frequently Asked Questions
What is the FastifyBodyParser type?
FastifyBodyParser is a type/interface in the fastify codebase, defined in types/content-type-parser.d.ts.
Where is FastifyBodyParser defined?
FastifyBodyParser is defined in types/content-type-parser.d.ts at line 12.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free