Replies: 1 comment
-
Are you specifically interested in the lower level details that hyper provides? Or do you just want a fuller-featured HTTP client? If the latter, I recommend trying https://crates.io/crates/reqwest. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use demo code(https://github.com/hyperium/hyper/blob/master/examples/web_api.rs)
when i run get response:
Response { status: 400, version: HTTP/1.1, headers: {"server": "cloudflare", "date": "Tue, 13 Jun 2023 07:15:13 GMT", "content-type": "text/html", "content-length": "155", "connection": "close", "cf-ray": "-"}, body: Body(Streaming) }
then the
http://jsonplaceholder.typicode.com/users
results:and i want to send a https request, use
hyper-tls
, but not findClient
, what should I do? Or is there a good solution? The documentation is not detailed at all, and there is no manual in README.md, which is really time-consuming.Beta Was this translation helpful? Give feedback.
All reactions