tweetinvi icon indicating copy to clipboard operation
tweetinvi copied to clipboard

HttpClient as own parameter

Open mikasoukhov opened this issue 2 years ago • 1 comments

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.

mikasoukhov avatar Jan 01 '23 22:01 mikasoukhov

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.

penguinawesome avatar Jan 19 '23 12:01 penguinawesome