You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of learning if SendGridClient is thread safe, I noticed that there is not ctor that accepts an IHttpClient and that the ctor actually creates the HttpClient.
I was wondering if it's worth leveraging the new HttpClientFactory stuff available from .NET Core 2.1+ (which can also handle Polly retries, etc) plus some other magic-under-the-hood.
The text was updated successfully, but these errors were encountered:
Issue Summary
As part of learning if
SendGridClient
is thread safe, I noticed that there is notctor
that accepts anIHttpClient
and that thector
actually creates theHttpClient
.I was wondering if it's worth leveraging the new
HttpClientFactory
stuff available from .NET Core 2.1+ (which can also handle Polly retries, etc) plus some other magic-under-the-hood.The text was updated successfully, but these errors were encountered: