Class VonageHttpClientConfiguration
Represents the configuration for all Vonage Clients.
public record VonageHttpClientConfiguration : IEquatable<VonageHttpClientConfiguration>
- Inheritance
-
VonageHttpClientConfiguration
- Implements
- Inherited Members
Constructors
VonageHttpClientConfiguration(HttpClient, Result<AuthenticationHeaderValue>, string)
Represents the configuration for all Vonage Clients.
public VonageHttpClientConfiguration(HttpClient HttpClient, Result<AuthenticationHeaderValue> AuthenticationHeader, string UserAgent)
Parameters
HttpClientHttpClientHttpClient to used for further connections.
AuthenticationHeaderResult<AuthenticationHeaderValue>AuthenticationHeader to be used for further connections.
UserAgentstringValue to be used in the user-agent header of each request.
Properties
AuthenticationHeader
AuthenticationHeader to be used for further connections.
public Result<AuthenticationHeaderValue> AuthenticationHeader { get; init; }
Property Value
HttpClient
HttpClient to used for further connections.
public HttpClient HttpClient { get; init; }
Property Value
UserAgent
Value to be used in the user-agent header of each request.
public string UserAgent { get; init; }