Class DanglIdentityHttpClientAccessor
This is a simple wrapper that can be used as injected services via the HttpClientFactory to optimize the lifetime management of HttpClients
Inheritance
System.Object
DanglIdentityHttpClientAccessor
Namespace: Dangl.Identity.Client.Mvc
Assembly: Dangl.Identity.Client.Mvc.dll
Syntax
public class DanglIdentityHttpClientAccessor : object
Constructors
| Improve this Doc View SourceDanglIdentityHttpClientAccessor(HttpClient)
This will make the injected HttpClient available as read-only property for downstream consumption
Declaration
public DanglIdentityHttpClientAccessor(HttpClient httpClient)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpClient | httpClient |
Properties
| Improve this Doc View SourceHttpClient
This is a read-only accessor to the HttpClient instance
Declaration
public HttpClient HttpClient { get; }
Property Value
| Type | Description |
|---|---|
| HttpClient |