Response.end() method
Ends the response. Called by every middleware on a rejected request, including after Response.send().
Signature:
end(...args: any[]): any;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
args |
any[] |
passed straight through from the middleware |
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.