MCPcopy
hub / github.com/fastify/fastify / type

Method type

types/reply.d.ts:64–64  ·  types/reply.d.ts::FastifyReply.type
(contentType: string)

Source from the content-addressed store, hash-verified

62 hijack(): FastifyReply<RouteGeneric, RawServer, RawRequest, RawReply, ContextConfig, SchemaCompiler, TypeProvider>;
63 callNotFound(): void;
64 type(contentType: string): FastifyReply<RouteGeneric, RawServer, RawRequest, RawReply, ContextConfig, SchemaCompiler, TypeProvider>;
65 serializer(fn: (payload: any) => string): FastifyReply<RouteGeneric, RawServer, RawRequest, RawReply, ContextConfig, SchemaCompiler, TypeProvider>;
66 serialize(payload: any): string | ArrayBuffer | Buffer;
67 class="cm">// Serialization Methods

Callers 12

stream.4.test.jsFile · 0.65
500s.test.jsFile · 0.65
hooks.test.jsFile · 0.65
helper.jsFile · 0.65
reply.test.jsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected