Table of Contents

Class WriteOutcome<T>.Accepted

Namespace
Trellis.Asp
Assembly
Trellis.Asp.dll

Request accepted for async processing — maps to 202 Accepted with a status body.

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?)

Request accepted for async processing — maps to 202 Accepted with a status body.

public Accepted(T StatusBody, string? MonitorUri = null, RetryAfterValue? RetryAfter = null)

Parameters

StatusBody T
MonitorUri string
RetryAfter RetryAfterValue

Properties

MonitorUri

public string? MonitorUri { get; init; }

Property Value

string

RetryAfter

public RetryAfterValue? RetryAfter { get; init; }

Property Value

RetryAfterValue

StatusBody

public T StatusBody { get; init; }

Property Value

T