Table of Contents

Interface IHttpClientProvider

Namespace
SimpleSign.Core.Http
Assembly
SimpleSign.Core.dll

Provides HttpClient instances for SimpleSign network operations.

In ASP.NET Core, implement this interface using IHttpClientFactory to avoid socket exhaustion. The default implementation (DefaultHttpClientProvider) uses a shared static instance.

public interface IHttpClientProvider

Methods

GetClient()

Returns an HttpClient suitable for OCSP, CRL, TSA, and AIA requests.

HttpClient GetClient()

Returns

HttpClient