Class QueryRequestEnvelope

Namespace
Cratis.Arc.Queries
Assembly
Cratis.Arc.Core.dll

Represents the JSON body of an HTTP QUERY request (RFC 10008) — the arguments, paging and sorting that a GET request would otherwise carry in the query string.

public class QueryRequestEnvelope
Inheritance
QueryRequestEnvelope
Inherited Members
Extension Methods

Constructors

QueryRequestEnvelope()

public QueryRequestEnvelope()

Properties

Arguments

Gets the query arguments keyed by parameter name.

public IDictionary<string, JsonElement>? Arguments { get; init; }

Property Value

IDictionary<string, JsonElement>

Paging

Gets the paging for the query, if any.

public QueryRequestEnvelope.PagingRequest? Paging { get; init; }

Property Value

QueryRequestEnvelope.PagingRequest

Sorting

Gets the sorting for the query, if any.

public QueryRequestEnvelope.SortingRequest? Sorting { get; init; }

Property Value

QueryRequestEnvelope.SortingRequest