Zum Hauptinhalt springen

StreamDataServiceClientOptions

Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.StreamData

Options for configuration of the StreamData services client proxy.

public class StreamDataServiceClientOptions : AssetServiceClientOptions

Inheritance Object → ServiceClientOptions → AssetServiceClientOptions → StreamDataServiceClientOptions

Properties​

TenantId​

The tenant ID used to scope API requests. Required for all operations. Tenant CRUD operations manage child tenants of this tenant.

public string TenantId { get; set; }

Property Value​

String

FileTransferTimeout​

Timeout of file byte transfers of AssetServicesClient.Files: the whole upload, a download until its response headers arrive. Default one hour, so 100 MB over a slow uplink works; zero or negative = no timeout. Other calls keep ServiceClientOptions.MaxTimeout.

public TimeSpan FileTransferTimeout { get; set; }

Property Value​

TimeSpan

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​

StreamDataServiceClientOptions()​

public StreamDataServiceClientOptions()