an fs2.Stream of Byte
.
a set of content-related HTTP headers.
Add new HTTP headers to this content.
Add new HTTP headers to this content.
the set of new HTTP header names and values to add to this content.
a copy of the content with the new headers added.
Create an cats.effect.IO that consumes this stream to a value of type A
.
Create an cats.effect.IO that consumes this stream to a value of type A
.
the lol.http.ContentDecoder is able to read stream as values of type A
.
an cats.effect.IO that can be run to consume the stream.
a set of content-related HTTP headers.
Remove HTTP headers from this content.
Remove HTTP headers from this content.
the set of HTTP headers names to remove fromt this content.
a copy of the content without the removed headers.
an fs2.Stream of Byte
.
An HTTP message content body.
It is used to represent the content body for both HTTP requests & responses. It is composed of a lazy stream of byte that can be consumed if needed, and a set of content-related HTTP headers (such as
Content-Length
,Content-Type
, etc.).The provided stream is not pure and can only be consumed once.
an fs2.Stream of
Byte
.a set of content-related HTTP headers.