Skip to content

RetryOptions

[<Interface>]
type RetryOptions =
    abstract member errorCodes: ResizeArray<string> option with get, set
    abstract member maxRetries: float option with get, set
    abstract member maxTimeout: float option with get, set
    abstract member methods: ResizeArray<HttpMethod> option with get, set
    abstract member minTimeout: float option with get, set
    abstract member retry: RetryCallback option with get, set
    abstract member retryAfter: bool option with get, set
    abstract member statusCodes: ResizeArray<float> option with get, set
    abstract member timeoutFactor: float option with get, set
    static member Create (?retry: RetryCallback, ?maxRetries: float, ?maxTimeout: float, ?minTimeout: float, ?timeoutFactor: float, ?retryAfter: bool, ?methods: ResizeArray<HttpMethod>, ?errorCodes: ResizeArray<string>, ?statusCodes: ResizeArray<float>) : RetryOptions
AssemblyGlutinum.Node
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>]

Properties

abstract member errorCodes: ResizeArray<string> option with get, set
abstract member maxRetries: float option with get, set
abstract member maxTimeout: float option with get, set
abstract member methods: ResizeArray<HttpMethod> option with get, set
abstract member minTimeout: float option with get, set
abstract member retry: RetryCallback option with get, set
abstract member retryAfter: bool option with get, set
abstract member statusCodes: ResizeArray<float> option with get, set
abstract member timeoutFactor: float option with get, set

Methods

static member Create (?retry: RetryCallback, ?maxRetries: float, ?maxTimeout: float, ?minTimeout: float, ?timeoutFactor: float, ?retryAfter: bool, ?methods: ResizeArray<HttpMethod>, ?errorCodes: ResizeArray<string>, ?statusCodes: ResizeArray<float>) : RetryOptions