HttpBody.stream constructor
A body of a raw bytes stream.
This is useful to avoid loading the entire body into memory.
The Content-Length header will be set if length
is provided.
Implementation
const factory HttpBody.stream(Stream<List<int>> stream, {int? length}) =
HttpBodyBytesStream._;