Does reqwest support HTTP Multiplexing? #1470
Answered
by
seanmonstar
liamwarfield
asked this question in
Q&A
-
Does the reqwest client support upgrading a connection to HTTP2 and then multiplexing multiple requests through a single TCP connection? |
Beta Was this translation helpful? Give feedback.
Answered by
seanmonstar
Feb 15, 2022
Replies: 1 comment 1 reply
-
Yes it does. You can either use the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
liamwarfield
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes it does. You can either use the
http2_prior_knowledge()
builder option, if the server accepts HTTP/2 without any negotiation, or you can enable a TLS backend that can do ALPN. Currently that would just berustls-tls
, and disablingdefault-tls
.