DurableHttpOptions
class
Namespace: Orleans.Durable.Http
Configures the HTTP operations which expose durable tasks.
public sealed class DurableHttpOptionsConstructors
Properties
AllowCallbackGets or sets the function which decides whether the server accepts a callback URL which a request registers, such as with anOperation-Callbackheader or a Nexuscallback, ornull, the default, which accepts none.CreateErrorGets or sets the function which describes a failed or canceled task's exception to clients, in the operation'sDurableOperation.GetCallerScopeGets 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, ornullfor an anonymous caller.MaxWaitGets or sets the longest wait which a request'sPrefer: waitpreference receives before the response reports a running operation.RequireIdempotencyKeyGets or sets whether a request which starts a durable task must carry anIdempotency-Keyheader.RetryAfterGets or sets the interval which responses for running operations advertise in theirRetry-Afterheader, as the minimum time before a client polls the operation again.
Methods
DefaultCreateError(Exception)Describes an exception by the task's outcome alone, without its type or message.DefaultGetCallerScope(HttpContext)Returns the authenticated user'sSystem.Security.Claims.ClaimTypes.NameIdentifierclaim, or itssubclaim, ornullfor a request without either.
