Skip to content

DurableHttpOperationOptions

record

Namespace: Orleans.Durable.Http

Configures how a durable task waits for an HTTP operation.
public record DurableHttpOperationOptions : IEquatable<DurableHttpOperationOptions>

Constructors

Properties

  • MaxPollInterval Gets the longest interval between polls, which bounds a response's Retry-After. The default is one minute, and an interval shorter than DurableHttpOperationOptions applies as DurableHttpOperationOptions.
  • ModeGets how the task observes the running operation. The default is DurableHttpWaitMode.
  • PollInterval Gets the shortest interval between polls of a running operation, which applies when a response doesn't advertise a longer one with Retry-After. The default is five seconds.
  • Wait Gets the wait which each poll requests with a Prefer: wait header, so a server which long-polls answers once the operation completes; System.TimeSpan.Zero, the default, requests none.