Type Alias: NodeHTTPResponse
NodeHTTPResponse:
DistributiveOmit<http.ServerResponse|http2.Http2ServerResponse,"write"> &object
Defined in: packages/server/src/adapters/node-http/types.ts:48
Type declaration
flush()?
optionalflush: () =>void
Force the partially-compressed response to be flushed to the client.
Added by compression middleware
(depending on the environment,
e.g. Next 12 and below,
e.g. Express w/ compression())
Returns
void
write()
write: (
chunk) =>boolean
Parameters
| Parameter | Type |
|---|---|
chunk | string | Uint8Array |
Returns
boolean