<PackageReference Include="Refit" Version="17.0.0" />

Refit.HttpRetryReplayOptions

public sealed class HttpRetryReplayOptions
Configures HTTP retry replay.
public int MaxRequestContentBufferSize { get; set; }

Gets or sets the maximum buffered request body size in bytes. Defaults to one MiB.

public bool RetryHttpRequestExceptions { get; set; }

Gets or sets a value indicating whether transport failures are retried. Cancellation is never retried.

public bool RetryUnsafeMethods { get; set; }

Gets or sets a value indicating whether methods other than GET, HEAD, OPTIONS and TRACE may be replayed.