MCPcopy
hub / github.com/fastify/fastify / removeHeader

Method removeHeader

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

Source from the content-addressed store, hash-verified

56 getHeader(key: HttpHeader): number | string | string[] | undefined;
57 getHeaders(): Record<HttpHeader, number | string | string[] | undefined>;
58 removeHeader(key: HttpHeader): FastifyReply<RouteGeneric, RawServer, RawRequest, RawReply, ContextConfig, SchemaCompiler, TypeProvider>;
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;

Callers 3

onSendEndFunction · 0.80
httpHeaderHandlerFunction · 0.80
reply.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected