Class ThumbnailerClientConfiguration
- Namespace
- PommaLabs.Thumbnailer.Client
- Assembly
- PommaLabs.Thumbnailer.Client.dll
Thumbnailer client configuration.
public sealed class ThumbnailerClientConfiguration
- Inheritance
-
ThumbnailerClientConfiguration
- Inherited Members
Properties
ApiKey
Optional, but suggested, API key.
public string ApiKey { get; set; }
Property Value
BaseUri
Base service URI. Defaults to "http://localhost:8080".
public Uri BaseUri { get; set; }
Property Value
JobTimeout
How long an async job can last before being interrupted. Defaults to 10 minutes and it cannot be greater than one hour.
public TimeSpan JobTimeout { get; set; }
Property Value
RetryCount
How many times the client will attempt to perform again HTTP calls which are worth retrying. Defaults to 2 times.
public int RetryCount { get; set; }
Property Value
Timeout
How long a single HTTP call can last before being interrupted. Defaults to 30 seconds and it cannot be greater than 10 minutes.
public TimeSpan Timeout { get; set; }