Table of Contents

Property Retries

Namespace
LMKit.Agents.Tools.Http
Assembly
LM-Kit.NET.dll

Retries

Gets or sets how many times a call is sent again after a transient failure (no answer, a timeout, or HTTP 408, 429, 502, 503 or 504), waiting longer each time and honoring Retry-After. Only a method that may be repeated (GET, HEAD, PUT, DELETE, OPTIONS) is retried; a POST or PATCH is sent once. From 0 to 5.

public int Retries { get; set; }

Property Value

int
Share