MCPcopy
hub / github.com/fastify/fastify / hijack

Method hijack

types/reply.d.ts:62–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 redirect(url: string, statusCode?: number): FastifyReply<RouteGeneric, RawServer, RawRequest, RawReply, ContextConfig, SchemaCompiler, TypeProvider>;
61 writeEarlyHints(hints: Record<string, string | string[]>, callback?: () => void): void;
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>;

Calls

no outgoing calls

Tested by 1