Need an examples of http2 client for hyper #3605
Unanswered
niranjankhare
asked this question in
Q&A
Replies: 2 comments 6 replies
-
The shape of the APIs for HTTP/1 and HTTP/2 is very similar. However, if you find the differences difficult, and don't care about them, I'd recommend using the reqwest crate. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@niranjankhare did you manage get a HTTP2 connection with hyper ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The examples don't seem to include good examples of http2 clients, especially for ones that POST bodies.
Seems like http1 and http2 clients api are different, and especially http2 ones need more boiler plate code?
I'm looking particularly for one that would send bytes::Bytes over the wire.
I'm noob , and would appreciate some examples around this!
I've looked quite a bit on the net an also in the examples, but did not find something useful.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions