Table of Contents

Class ClientConnectionOptions

Namespace
IceRpc
Assembly
IceRpc.dll

Represents a property bag used to configure a ClientConnection.

public sealed record ClientConnectionOptions : ConnectionOptions, IEquatable<ConnectionOptions>, IEquatable<ClientConnectionOptions>
Inheritance
ClientConnectionOptions
Implements
Inherited Members

Properties

ClientAuthenticationOptions

Gets or sets the SSL client authentication options.

public SslClientAuthenticationOptions? ClientAuthenticationOptions { get; set; }

Property Value

SslClientAuthenticationOptions

The SSL client authentication options. When not null, ConnectAsync(CancellationToken) will either establish a secure connection or fail.

ConnectTimeout

Gets or sets the connection establishment timeout.

public TimeSpan ConnectTimeout { get; set; }

Property Value

TimeSpan

The connection establishment timeout. Defaults to 10 seconds.

ServerAddress

Gets or sets the connection's server address.

public ServerAddress? ServerAddress { get; set; }

Property Value

ServerAddress?

The connections's server address. If null, the client connection construction will fail.

ShutdownTimeout

Gets or sets the shutdown timeout.

public TimeSpan ShutdownTimeout { get; set; }

Property Value

TimeSpan

The shutdown timeout. Defaults to 10 seconds.