in src/Covi.Client/Services/PlatformClient.cs [28:44]
public PlatformClient(PlatformClientOptions options, HttpMessageHandler httpClientHandler, params DelegatingHandler[] handlers)
{
if (options == null)
{
throw new ArgumentNullException(nameof(options));
}
if (httpClientHandler == null)
{
throw new ArgumentNullException(nameof(httpClientHandler));
}
_httpClient = CreateClient(httpClientHandler, handlers);
if (options.Timeout.HasValue)
{
_httpClient.Timeout = options.Timeout.Value;
}
}