Skip to content

Enum BehaviorRestBindingSource

Namespace: Cephalon.Behaviors.Http.Abstractions
Assembly: Cephalon.Behaviors.Http.dll

Identifies the HTTP request source that should populate one behavior input property for a module-owned REST projection.

[JsonConverter(typeof(JsonStringEnumConverter<BehaviorRestBindingSource>))]
public enum BehaviorRestBindingSource

BehaviorRestBindingSourceExtensions.GetWireName(BehaviorRestBindingSource)

Body = 4

Reads the value from the JSON request body.

Header = 3

Reads the value from an HTTP header.

Query = 2

Reads the value from the query string.

Route = 1

Reads the value from a route placeholder such as {cartId}.

Unspecified = 0

No explicit source has been selected.