Response.send() method
Writes the response body. Given a plain string by HttpProtect.textMiddleware() and a JSON string by HttpProtect.jsonMiddleware(); never called by HttpProtect.middleware(), which answers with no body at all.
Signature:
send(...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.