Table of Contents

Property RetryTransientErrors

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

RetryTransientErrors

Gets or sets whether transient HTTP errors (DNS failures, socket errors, connection timeouts) should be retried with exponential backoff, up to MaxRetries.

public bool RetryTransientErrors { get; set; }

Property Value

bool

Remarks

Defaults to true. Set to false to fail immediately on network errors.

Only transient errors are retried — permanent errors (e.g. 404, 403) always fail immediately.