Namespace SimpleSign.Core.Http
Classes
- DefaultHttpClientProvider
Default provider that uses a shared static HttpClient with a 30-second timeout. Safe for console apps and background services. For ASP.NET Core, prefer
IHttpClientFactory.
Interfaces
- IHttpClientProvider
Provides HttpClient instances for SimpleSign network operations.
In ASP.NET Core, implement this interface using
IHttpClientFactoryto avoid socket exhaustion. The default implementation (DefaultHttpClientProvider) uses a shared static instance.