Skip to content

DurableCallback Constructors

Describes a callback which delivers an operation's outcome to a caller's URL.

DurableCallback(DurableCallbackProtocol, GrainId, string, Uri, IReadOnlyDictionary<string, string>, string?)

View source
public DurableCallback(DurableCallbackProtocol Protocol, GrainId OperationHost, string OperationId, Uri Url, IReadOnlyDictionary<string, string> Headers, string? OperationLocation)
Describes a callback which delivers an operation's outcome to a caller's URL.

Parameters

ProtocolDurableCallbackProtocol
The protocol of the callback's request.
OperationHostGrainId
The grain which hosts the operation.
OperationIdstring
The identifier by which the caller knows the operation: its operation identifier or Nexus token.
UrlUri
The URL which receives the callback.
HeadersIReadOnlyDictionary<string, string>
The headers which the caller asked each delivery to carry, by lowercase name. Their values can be credentials, so each value is protected with ASP.NET Core Data Protection, and deliveries unprotect it.
OperationLocationstring?
The URL of the operation's status monitor, for webhooks.