-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have to use the async version of reqwest to call Response::bytes_stream() to do actual streaming. This requires explicitly bringing in tokio and making various functions async. Since we're just firing off one request, set up the single-threaded flavor of tokio instead of spawning multiple. Also implement serializing all headers per discussion with @cfm.
- Loading branch information
Showing
3 changed files
with
85 additions
and
60 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters