Response.setHeader() method
Node-style header setter, used only when Response.header() is absent.
Signature:
setHeader?(name: string, value: string): any;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
string |
the header name |
|
value |
string |
the header value |
Returns:
any
Ignored by the middlewares.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.