DoxigAlpha

endChunked

Writes the end-of-stream message and any optional trailers, flushing the underlying stream.

Asserts that the BodyWriter is using transfer-encoding: chunked.

Respects the value of isEliding to omit all data after the headers.

See also:

  • endChunkedUnflushed
  • end

Function parameters

Parameters

#
w:*BodyWriter

Type definitions in this namespace

Types

#
Method
https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
Status
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
TransferEncoding
compression is intentionally omitted here since it is handled in `ContentEncoding`.
BodyWriter
Request or response body.

Source

Implementation

#