Skip to content

DurableHttpOptions

class

Namespace: Orleans.Durable.Http

Configures the HTTP operations which expose durable tasks.
public sealed class DurableHttpOptions

Constructors

Properties

  • AllowCallback Gets or sets the function which decides whether the server accepts a callback URL which a request registers, such as with an Operation-Callback header or a Nexus callback, or null, the default, which accepts none.
  • CreateError Gets or sets the function which describes a failed or canceled task's exception to clients, in the operation's DurableOperation.
  • GetCallerScope Gets or sets the function which returns the authorization scope of a request's caller, such as the user or the account which it authenticates as, or null for an anonymous caller.
  • MaxWait Gets or sets the longest wait which a request's Prefer: wait preference receives before the response reports a running operation.
  • RequireIdempotencyKey Gets or sets whether a request which starts a durable task must carry an Idempotency-Key header.
  • RetryAfter Gets or sets the interval which responses for running operations advertise in their Retry-After header, as the minimum time before a client polls the operation again.

Methods