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

Mention in the readme that custom HttpClient instances can be provided to HttpApiTransport #451

Open
DiscoPYF opened this issue Dec 21, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@DiscoPYF
Copy link
Collaborator

DiscoPYF commented Dec 21, 2022

The readme puts emphasis on how custom transport implementations can be provided, but we should also mention that consumers can provide their own instance of HttpClient to HttpApiTransport without reimplementing the transport layer.

var client = new HttpClient(); // my own HTTP client with a bunch of custom settings
var transport = new HttpApiTransport(client);

This may actually satisfy most custom needs related to HttpClient.

@DiscoPYF DiscoPYF added the documentation Improvements or additions to documentation label Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant