RequestOptions
Namespace: TypeSafe.AI.Sdk
public sealed class RequestOptionsPer-call options that override client settings.
Inheritance: object
Properties
Section titled “Properties”CancellationToken
Section titled “CancellationToken”public CancellationToken CancellationToken { get; set; }Cancellation token for the request and pending retries.
Value: CancellationToken
Headers
Section titled “Headers”public IDictionary<string, string>? Headers { get; set; }Additional headers, merged over DefaultHeaders.
Value: IDictionary<string, string>
public RetryPolicy? Retry { get; set; }Retry overrides for this call; omitted fields inherit client settings.
Value: RetryPolicy
TimeoutMs
Section titled “TimeoutMs”public int? TimeoutMs { get; set; }Timeout per attempt in milliseconds; there is no total retry budget.
Value: int?
MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API