Class HttpClientHelper
Default IHttpClientHelper implementation that simply exposes the injected HttpClient.
Registered via AddHttpClient<IHttpClientHelper, HttpClientHelper> so DI applies a named HttpClient
(with its own handler chain + base address) to this typed client.
public sealed class HttpClientHelper : IHttpClientHelper
- Inheritance
-
HttpClientHelper
- Implements
- Inherited Members
- Extension Methods
Constructors
HttpClientHelper(HttpClient)
Default IHttpClientHelper implementation that simply exposes the injected HttpClient.
Registered via AddHttpClient<IHttpClientHelper, HttpClientHelper> so DI applies a named HttpClient
(with its own handler chain + base address) to this typed client.
public HttpClientHelper(HttpClient httpClient)
Parameters
httpClientHttpClient
Properties
Client
The configured HttpClient to use for identity-endpoint calls.
public HttpClient Client { get; }