Sorry for the noob question - is it possible to process a chunked response with cohttp? I’d like to do something like this h2 example
Thanks!
Sorry for the noob question - is it possible to process a chunked response with cohttp? I’d like to do something like this h2 example
Thanks!
Yes, you can do that. The Cohttp_eio.Body.t is the Eio.Flow.source_ty Eio.Resource.t type for streaming a resource.
See an example.