Eplan Platform API
Eplan.IdentityClient.Authentification Namespace / IEIdentityClient Interface / GetHttpClient Method / GetHttpClient(HttpClient) Method
Valid HttpClient object if success, otherwise null.

In This Topic
    GetHttpClient(HttpClient) Method
    In This Topic
    Gets HttpClient object.
    Syntax

    Parameters

    Parameter NameDescription
    httpClientValid HttpClient object if success, otherwise null.

    Return Value

    IdentityClientResponse: operation result.
    Remarks
    A proxy is set by default in the returned HttpClient object. Authorization header is not set. IHttpClientFactory is used internally to create the HttpClient object. The use of this HttpClient object created by this method is recommended. Internally, it uses a resilient pattern and a middleware that sets up a user agent and validates responses.
    See Also