Show / Hide Table of Contents

    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 Source

    DanglIdentityHttpClientAccessor(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 Source

    HttpClient

    This is a read-only accessor to the HttpClient instance

    Declaration
    public HttpClient HttpClient { get; }
    Property Value
    Type Description
    HttpClient

    Extension Methods

    ObjectExtensions.Clone<T>(T)
    • Improve this Doc
    • View Source
    Back to top © Dangl IT GmbH