Skip to main content

ServiceClientOptions

Namespace: Meshmakers.Octo.Sdk.ServiceClient

Configuration options of data source client

public class ServiceClientOptions

Inheritance Object → ServiceClientOptions

Fields​

DefaultStreamReadIdleTimeout​

Default of ServiceClientOptions.StreamReadIdleTimeout: two minutes.

public static TimeSpan DefaultStreamReadIdleTimeout;

Properties​

EndpointUri​

The root uri of core services

public string EndpointUri { get; set; }

Property Value​

String

MaxTimeout​

Maximum request duration in milliseconds.

public int MaxTimeout { get; set; }

Property Value​

Int32

StreamReadIdleTimeout​

Longest time a streamed response body (tenant dump download, file download) may deliver no data before the read fails with a TimeoutException. The clock restarts with every read that returns data, so a slow but progressing download is never cut off; only a connection that stalls (for example one that died without the client noticing) is. Default ServiceClientOptions.DefaultStreamReadIdleTimeout; zero or negative = no idle timeout.

public TimeSpan StreamReadIdleTimeout { get; set; }

Property Value​

TimeSpan

Constructors​

ServiceClientOptions()​

public ServiceClientOptions()