Skip to main content
Version: 11.x

Type alias: NodeHTTPResponse

NodeHTTPResponse: ServerResponse & {flush: () => void;}

NodeHTTPResponse.flush

optional flush: () => void

Force the partially-compressed response to be flushed to the client.

Added by compression middleware (depending on the environment, e.g. Next <= 12, e.g. Express w/ compression())

Returns

void

Source

packages/server/src/adapters/node-http/types.ts:31


Generated using TypeDoc and typedoc-plugin-markdown