Show / Hide Table of Contents

Class ClientConfiguration

This class provides configuration options for client requests.

Inheritance
object
ClientConfiguration
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.Common
Assembly: OCI.DotNetSDK.Common.dll
Syntax
public class ClientConfiguration

Properties

ClientCertificateOption

Optional ClientCertificateOption. Default is Automatic.

Declaration
public ClientCertificateOption ClientCertificateOption { get; set; }
Property Value
Type Description
ClientCertificateOption

ClientCertificates

Optional array of client X509Certificate to trust.

Declaration
public X509Certificate[] ClientCertificates { get; set; }
Property Value
Type Description
X509Certificate[]

ClientUserAgent

Additional user agent string set by the client of this SDK. It will be appended to default user agent. The format is (by convention) "Application/Version", ex "MyApp/1.3.5". Note, this value is only used to set user agent header the first time a client is created, and once set, it cannot be changed.

Declaration
public string ClientUserAgent { get; set; }
Property Value
Type Description
string

ResponseContentBufferBytes

The max number of bytes to buffer when reading the response content. Default is 2GB.

Declaration
public long ResponseContentBufferBytes { get; set; }
Property Value
Type Description
long

RetryConfiguration

The retry configuration to use. Default is no retry.

Declaration
public RetryConfiguration RetryConfiguration { get; set; }
Property Value
Type Description
RetryConfiguration

TimeoutMillis

The max time to wait for a request to complete, in millis. Default is 100000.

Declaration
public int TimeoutMillis { get; set; }
Property Value
Type Description
int
In this article
Back to top