tide icon indicating copy to clipboard operation
tide copied to clipboard

Media proxy with Tide | Stream entire response from reader?

Open spikecodes opened this issue 3 years ago • 1 comments

Hi, I'm attempting to use Tide in combination with async_std::net::TcpStream to build a media proxy.

My goal is to stream the media bytes (including the headers) through my proxy to the response. Is this achievable with Tide or can only a Body be constructed from a reader?

spikecodes avatar Mar 12 '21 06:03 spikecodes

I saw https://github.com/http-rs/tide/pull/784 but is that streaming the request or receiving all the bytes before building a response?

spikecodes avatar Mar 12 '21 06:03 spikecodes