API version:
Show / Hide Table of Contents

Class DefaultHttpClient

Represents the default HTTP client options.

Inheritance
System.Object
DefaultHttpClient
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk.Internal
Assembly: Okta.Sdk.dll
Syntax
public static class DefaultHttpClient

Methods

Create(Nullable<Int32>, ProxyConfiguration, ILogger)

Creates an System.Net.Http.HttpClient with the default options.

Declaration
public static HttpClient Create(int? connectionTimeout, ProxyConfiguration proxyConfiguration, ILogger logger)
Parameters
Type Name Description
System.Nullable<System.Int32> connectionTimeout

The connection timeout in seconds.

ProxyConfiguration proxyConfiguration

The proxy configuration, if any.

Microsoft.Extensions.Logging.ILogger logger

The logger.

Returns
Type Description
System.Net.Http.HttpClient

The HTTP client.

Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.