Table of Contents

Class RequestOptions

Namespace
TypeSafe.AI.Sdk
Assembly
TypeSafe.AI.Sdk.dll

Per-call options that override client settings.

public sealed class RequestOptions
Inheritance
RequestOptions
Inherited Members

Properties

CancellationToken

Cancellation token for the request and pending retries.

public CancellationToken CancellationToken { get; set; }

Property Value

CancellationToken

Headers

Additional headers, merged over DefaultHeaders.

public IDictionary<string, string>? Headers { get; set; }

Property Value

IDictionary<string, string>

Retry

Retry overrides for this call; omitted fields inherit client settings.

public RetryPolicy? Retry { get; set; }

Property Value

RetryPolicy

TimeoutMs

Timeout per attempt in milliseconds; there is no total retry budget.

public int? TimeoutMs { get; set; }

Property Value

int?