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

HttpClient as own parameter #1201

Open
mikasoukhov opened this issue Jan 1, 2023 · 1 comment
Open

HttpClient as own parameter #1201

mikasoukhov opened this issue Jan 1, 2023 · 1 comment

Comments

@mikasoukhov
Copy link

HttpClient is global object as a recommendation from MS. It is recommend use single instance per app https://www.aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/ Think will be good idea allow users pass this instance directly into TwitterClient.

@penguinawesome
Copy link

Hii @linvi please have a look at this issue. This is critical issue here since in .net it is recommended to reuse the http client. Please allow us to pass our own http client since we are using it for pooling.

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

2 participants