writeWebResponse
function writeWebResponse( res, response, request?): Promise<void>;Defined in: src/adapters/node.ts:156
Write a web Response to a Node ServerResponse, streaming the body with
backpressure. Stops reading (and cancels the body) when the client
disconnects.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
res |
ServerResponse |
response |
Response |
request? |
{ method?: string; } |
request.method? |
string |
Returns
Section titled “Returns”Promise<void>