Interface IOperationResponse
One declared response of an operation: a variant of the generated per-operation response
union (WidgetsUpdateResponse.Conflict, …) that knows its status and how to write itself.
public interface IOperationResponse
Properties
Status
The declared status of this variant (200, 404, …).
int Status { get; }
Property Value
Methods
ToHttpResult()
Writes the variant with its status (and its body, if it has one).
IResult ToHttpResult()