Class KevlarRequestOptions

Namespace
Kevlar.Extensions.Http
Assembly
Kevlar.Extensions.Http.dll

Configures one HTTP request's Kevlar execution.

public sealed class KevlarRequestOptions
Inheritance
KevlarRequestOptions
Inherited Members

Constructors

KevlarRequestOptions()

public KevlarRequestOptions()

Properties

AllowReplay

Overrides replay permission. false suppresses retries and hedges; true permits unsafe HTTP methods subject to content replay safety.

public bool? AllowReplay { get; set; }

Property Value

bool?

CancellationToken

An additional cancellation token linked with the token supplied to the handler.

public CancellationToken CancellationToken { get; set; }

Property Value

CancellationToken

ConfigureProperties

Initializes the pooled execution properties before the selected shield runs.

public Action<KevlarProperties>? ConfigureProperties { get; set; }

Property Value

Action<KevlarProperties>

Shield

Overrides the client's shield for this request.

public Shield<HttpResponseMessage>? Shield { get; set; }

Property Value

Shield<HttpResponseMessage>

ShieldName

Optional logical shield name available to per-request selectors.

public string? ShieldName { get; set; }

Property Value

string