Create an cats.effect.IO
that consumes the content stream and produces a scala value.
Create an cats.effect.IO
that consumes the content stream and produces a scala value.
an HTTP content.
an cats.effect.IO
that you can run to eventually retrieve the scala value.
An HTTP content decoder.
A content decoder is able to parse an HTTP content into a scala value of type
A
. It will look at the content HTTP headers if needed, and consume the content stream bytes to eventually output a scala value.