Enum QueryHttpMethod

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

Defines the HTTP method a generated client proxy uses to perform a query over HTTP.

public enum QueryHttpMethod
Extension Methods

Fields

Auto = 2

Prefer the QUERY method and fall back to GET when the server or network path does not support it.

Get = 0

Use the GET method, carrying arguments in the URL query string.

Query = 1

Use the QUERY method (RFC 10008), carrying arguments in a JSON request body.

Remarks

The member names match the TypeScript QueryHttpMethod enum so they can be carried through proxy generation.