Class WriteOutcome<T>.Accepted
- Namespace
- Trellis
- Assembly
- Trellis.Core.dll
The write was accepted for asynchronous processing and a status body is returned. Transports as HTTP 202 Accepted.
public sealed record WriteOutcome<T>.Accepted : WriteOutcome<T>, IEquatable<WriteOutcome<T>>, IEquatable<WriteOutcome<T>.Accepted>
- Inheritance
-
WriteOutcome<T>WriteOutcome<T>.Accepted
- Implements
- Inherited Members
- Extension Methods
Constructors
Accepted(T, string?, RetryAfterValue?)
The write was accepted for asynchronous processing and a status body is returned. Transports as HTTP 202 Accepted.
public Accepted(T StatusBody, string? MonitorUri = null, RetryAfterValue? RetryAfter = null)
Parameters
StatusBodyTA status body describing the in-flight operation.
MonitorUristringOptional address where progress can be polled.
RetryAfterRetryAfterValueOptional hint for when to poll next.
Properties
MonitorUri
Optional address where progress can be polled.
public string? MonitorUri { get; init; }
Property Value
RetryAfter
Optional hint for when to poll next.
public RetryAfterValue? RetryAfter { get; init; }
Property Value
StatusBody
A status body describing the in-flight operation.
public T StatusBody { get; init; }
Property Value
- T