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

Access proxy from Client #1575

Open
johnsmith1232541 opened this issue Jul 10, 2022 · 0 comments
Open

Access proxy from Client #1575

johnsmith1232541 opened this issue Jul 10, 2022 · 0 comments

Comments

@johnsmith1232541
Copy link

johnsmith1232541 commented Jul 10, 2022

I have an app where I'm spawning futures that take a Client as an argument and perform multiple operations and then returns the Client back.
Each client is using a different proxy and upon return of the future, I'd like to know which proxy it was used, however the attributes are private. How would I go about this?

As a side note, I'm building new clients for every connection as each conn needs a new proxy. Is there a cheaper way to do this, by changing proxies without having to build a new client?

Thanks

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

1 participant