Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples to use non-legacy client #26

Open
hjr3 opened this issue Dec 3, 2023 · 3 comments
Open

Update examples to use non-legacy client #26

hjr3 opened this issue Dec 3, 2023 · 3 comments

Comments

@hjr3
Copy link
Owner

hjr3 commented Dec 3, 2023

Now that #25 has landed, we should make an example that uses the non-legacy client.

@allan2
Copy link
Contributor

allan2 commented Dec 4, 2023

There is no higher-level non-legacy client at the moment. Keep as-is until the new one arrives?

Sources:
hyperium/hyper#3414
https://hyper.rs/contrib/roadmap/

@pronebird
Copy link

pronebird commented Jan 24, 2024

Is it not possible to use this crate with hyper::client::conn::http1::handshake(io) ?

@hjr3
Copy link
Owner Author

hjr3 commented Jan 28, 2024

@pronebird This library wraps HttpConnector, which is part of the legacy package.

If you look at https://hyper.rs/guides/1/client/basic/ you will notice how low level the implementation is. If/when hyper exposes a more high level interface, we can move to that.

What problem(s) are you encountering when using the legacy client?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants