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

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

    Parameters

    Parameter NameDescription
    eplanCloudAppNameEplanCloudAppName from the enum
    httpClientValid HttpClient object if success, otherwise null.

    Return Value

    IdentityClientResponse: operation result.
    Remarks
    A proxy and the authorization header to access the Eplan Cloud service (strClientId) are set by default. 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