Table of Contents

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

string

BaseUri

Base service URI. Defaults to "http://localhost:8080".

public Uri BaseUri { get; set; }

Property Value

Uri

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

TimeSpan

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

int

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; }

Property Value

TimeSpan