pub fn endChunked(w: *BodyWriter, options: EndChunkedOptions) Error!void w: *BodyWriteroptions: EndChunkedOptions846
847
848
849 pub fn endChunked(w: *BodyWriter, options: EndChunkedOptions) Error!void {
try endChunkedUnflushed(w, options);
try w.http_protocol_output.flush();
}
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
isElidingto omit all data after the headers.See also:
endChunkedUnflushedend