# DurableHttpOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoptions/)

## AllowCallback {#allowcallback-802fa141}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoptions/properties/allowcallback-802fa141/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOptions.cs)

```csharp
public Func<HttpContext, Uri, bool>? 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 {#createerror-efe3561e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoptions/properties/createerror-efe3561e/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOptions.cs)

```csharp
public Func<Exception, DurableOperationError> CreateError
```

Gets or sets the function which describes a failed or canceled task's exception to clients, in the operation's [DurableOperation](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durableoperation/).

## GetCallerScope {#getcallerscope-7059067f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoptions/properties/getcallerscope-7059067f/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOptions.cs)

```csharp
public Func<HttpContext, string?> 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 {#maxwait-6147339d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoptions/properties/maxwait-6147339d/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOptions.cs)

```csharp
public TimeSpan MaxWait
```

Gets or sets the longest wait which a request's `Prefer: wait` preference receives before the response reports a running operation.

## RequireIdempotencyKey {#requireidempotencykey-4447b9ea}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoptions/properties/requireidempotencykey-4447b9ea/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOptions.cs)

```csharp
public bool RequireIdempotencyKey
```

Gets or sets whether a request which starts a durable task must carry an `Idempotency-Key` header.

## RetryAfter {#retryafter-a699c0a2}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoptions/properties/retryafter-a699c0a2/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOptions.cs)

```csharp
public TimeSpan 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.
