MCPcopy
hub / github.com/callumalpass/tasknotes / setHeader

Method setHeader

src/api/httpTypes.ts:13–13  ·  view source on GitHub ↗
(name: string, value: string)

Source from the content-addressed store, hash-verified

11 statusCode: number;
12 headersSent?: boolean;
13 setHeader(name: string, value: string): void;
14 writeHead(statusCode: number, headers?: Record<string, string>): void;
15 end(data?: string): void;
16}

Callers 5

handleRequestMethod · 0.80
setCORSHeadersFunction · 0.80
sendJSONResponseFunction · 0.80
handleOpenAPISpecMethod · 0.80
handleSwaggerUIMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected