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

add HTTP proxy support #264

Merged
merged 18 commits into from
Jul 2, 2023
Merged

add HTTP proxy support #264

merged 18 commits into from
Jul 2, 2023

Conversation

dyc3
Copy link
Owner

@dyc3 dyc3 commented Jul 2, 2023

  • allow extracting the http client from web api transport
  • refactor most commands so that they can accept an external transport
  • update confirmer to use transport's http client
  • update remove command
  • update TwoFactorClient so it doesn't need to be mutable
  • update get_server_time so it requires a transport
  • update remove_authenticator
  • update login proceedure to use given transport
  • update usages of do_login
  • update setup
  • update trade
  • update code command
  • update qr-login command
  • make borrowcheck happy
  • make WebApiTransport Clone and remove Default impl
  • remove dead code
  • fix lints

closes #177

@dyc3 dyc3 enabled auto-merge (squash) July 2, 2023 12:56
@dyc3 dyc3 merged commit fe663cf into master Jul 2, 2023
3 checks passed
@dyc3 dyc3 deleted the proxy-support branch July 2, 2023 12:57
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.

HTTP or SOCKS proxy support
1 participant