Table of Contents

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>.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

StatusBody T

A status body describing the in-flight operation.

MonitorUri string

Optional address where progress can be polled.

RetryAfter RetryAfterValue

Optional hint for when to poll next.

Properties

MonitorUri

Optional address where progress can be polled.

public string? MonitorUri { get; init; }

Property Value

string

RetryAfter

Optional hint for when to poll next.

public RetryAfterValue? RetryAfter { get; init; }

Property Value

RetryAfterValue

StatusBody

A status body describing the in-flight operation.

public T StatusBody { get; init; }

Property Value

T