Skip to main content

RequestOptions

Namespace: Busy.Bar

Per-call overrides, passed as the trailing options argument to every method.

public sealed class RequestOptions

Inheritance Object → RequestOptions

Properties

Timeout

Overrides BusyBarOptions.Timeout for this call only.

public TimeSpan? Timeout { get; init; }

Property Value

TimeSpan?

CancellationToken

Cancellation token for this call. Equivalent to TS's AbortSignal.

public CancellationToken CancellationToken { get; init; }

Property Value

CancellationToken

Constructors

RequestOptions()

public RequestOptions()