just like Limit The Number Of C# Tasks That Run In Parallel - Daniel Schroeder’s Programming Blog said, i write a client requests to server by reqwest, but i donot want wast lots of bandwith and/or doss the server. so how to contral the task number in rust future or tokio or reqwest?
I wrote this a long time ago: gist which performs up to ten requests at a time.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.