zio-http icon indicating copy to clipboard operation
zio-http copied to clipboard

Support streaming in Client

Open jdegoes opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Many APIs provide very large responses, for example, S3, in which it is possible to download a large file or stream a video.

Describe the solution you'd like

Comprehensive, performant, and rock-solid support for streaming in Client.

Describe alternatives you've considered

None.

Additional context

Need scope.

jdegoes avatar Sep 19 '22 21:09 jdegoes

In current implementation, Client streaming it is enabled when the netty's ObjectAggregator is not present in the pipeline.

devsprint avatar Sep 21 '22 11:09 devsprint

  • [ ] Client response streaming should be enabled based on Transfer-Encoding header value.
  • [ ] Add implementation for Client Request streaming - send data to server (POST, PUT) using chunked request.

devsprint avatar Sep 21 '22 12:09 devsprint

I will take it

kmatasfp avatar Nov 21 '22 21:11 kmatasfp