Skip to content

Async http PUT in loop with reqwest #4264

Answered by Darksonn
mihaigalos asked this question in Q&A
Discussion options

You must be logged in to vote

This is not possible. You will need to set up some other way to transmit this data. For example, you can create your own body using the async-stream crate which behaves like your codec, except that it also transmits the number of bytes read to a watch channel.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@Darksonn
Comment options

@mihaigalos
Comment options

@Darksonn
Comment options

@Darksonn
Comment options

@mihaigalos
Comment options

Answer selected by mihaigalos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants