Open npound opened 2 years ago
Looking for something like this ` private readonly System.Net.Http.HttpClient Client;
public HttpClient() : this(new System.Net.Http.HttpClient())
{
}
public HttpClient(System.Net.Http.HttpClient httpClient)
{
Client = httpClient;
}`
Have the HttpService that CoinbaseClient consumes follow HTTPClient standards to enable HTTP retry and DI handling.
https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests#how-to-use-typed-clients-with-ihttpclientfactory