Skip to content

DurableHttpClientBuilderExtensions.AddDurableIdempotencyKey(IHttpClientBuilder)

AddDurableIdempotencyKey(IHttpClientBuilder)

staticextension
View source
public static IHttpClientBuilder AddDurableIdempotencyKey(this IHttpClientBuilder builder)
Adds a DurableIdempotencyKeyHandler, which sends each request of a durable task with an Idempotency-Key that identifies the task, to the client's handlers.

Parameters

builderIHttpClientBuilder
The HTTP client builder, in a silo which runs durable tasks.

Returns

The HTTP client builder.