Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just like Random.Shared, it would be nice to have HttpClient.Shared.
Since initializing HttpClient is such a bad idea until you have to do it, would be nice to just use a shared static instance for simple api calls instead.
Another feature could include static HttpClient methods that internally uses HttpClient.Shared so we don't even have to type this in code
Beta Was this translation helpful? Give feedback.
All reactions