Any Rust Http Lib: only specific number of bytes from the socket


#1

In C++, using Boost Asio, one can control the socket delivery via buffers, if only a specific number of bytes is needed, Asio helps to do it, no need to have everything ( wait till all the data to be transferred and to pick what is needed).

I need something similar in Rust, get only a specific amount of the data in fly and after disconnect, no need to wait till all the data to be transferred … This is not acceptable in my application, time consuming for nothing specially when thousand of URLs are fetched!

Any hint?