MCPcopy
hub / github.com/fastify/fastify / writeEarlyHints

Method writeEarlyHints

types/reply.d.ts:61–61  ·  view source on GitHub ↗
(hints: Record<string, string | string[]>, callback?: () => void)

Source from the content-addressed store, hash-verified

59 hasHeader(key: HttpHeader): boolean;
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>;

Callers 2

reply.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected