AssetServiceClientOptions
Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.System
Options for the AssetServicesClient.
public class AssetServiceClientOptions : ServiceClientOptions
Inheritance Object → ServiceClientOptions → AssetServiceClientOptions
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
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
EndpointUri
The root uri of core services
public string EndpointUri { get; set; }
Property Value
MaxTimeout
Maximum request duration in milliseconds.
public int MaxTimeout { get; set; }
Property Value
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
Constructors
AssetServiceClientOptions()
public AssetServiceClientOptions()