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

Allow passing context to methods, add optional config for client #7

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

nikita-vanyasin
Copy link
Owner

  • new alternative XXXWithContext methods have been added, allowing to control HTTP request context
  • old methods have been deprecated to encourage proper usage of Go contexts
  • new Client constructor allows to change HTTP client and base URL

- new alternative XXXWithContext methods have been added, allowing to control HTTP request context
- old methods have been deprecated to encourage proper usage of Go contexts
- new Client constructor allows to change HTTP client and base URL
@nikita-vanyasin nikita-vanyasin mentioned this pull request Apr 26, 2024
@nikita-vanyasin nikita-vanyasin merged commit 65a9904 into master Apr 26, 2024
@nikita-vanyasin nikita-vanyasin deleted the ctx-config-options branch April 26, 2024 13:37
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.

1 participant