Can Http2 SendRequest send multiple requests in a row? #3703
Answered
by
seanmonstar
OldMansKid
asked this question in
Q&A
-
I noticed that the future returned by SendRequest::send_request doesn't depend on the SendRequest instance. I wonder if I can use a single http2 SendRequest to send multiple requests and then use a FuturesUnordered to poll these futures. |
Beta Was this translation helpful? Give feedback.
Answered by
seanmonstar
Jul 16, 2024
Replies: 1 comment 1 reply
-
Yes they can. You can check the various readiness methods to see if you can send another request before calling |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
OldMansKid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes they can. You can check the various readiness methods to see if you can send another request before calling
send_request()
.