socketry / async-http

MIT License
298 stars 45 forks source link

Client: streaming upload #117

Closed pschrammel closed 1 year ago

pschrammel commented 1 year ago

Hi,

can the http client stream the body of a POST request? The idea is to write a proxy like server which posts each chunk it receives to another server. The server side is clear to me but the client seems to lack some functionality.

Thx

ioquatix commented 1 year ago

Yes, this gem supports full bi-directional streaming on both the client and server.