Navigation Menu

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

feat: enable client to be a service without ownership #1556

Merged

Conversation

neoeinstein
Copy link
Contributor

With the current impl on Client, using a client as a service requires ownership. This can be done relatively cheaply by cloning, but is a bit of a UX sore. We can improve this by adding an impl on the shared reference. This will enable usage of a client as a service in a way that doesn't require explicit cloning for repeated use where not required. This is analogous to the impls on the hyper::Client.

@seanmonstar seanmonstar merged commit 7a11d39 into seanmonstar:master Jun 13, 2022
@neoeinstein neoeinstein deleted the client-without-ownershio branch June 13, 2022 20:45
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

Successfully merging this pull request may close these issues.

None yet

2 participants