Partager via


MatchCondition interface

Define a match condition.

Properties

matchValue

List of possible match values.

matchVariable

Request variable to compare with.

negateCondition

Describes if the result of this condition should be negated.

operator

Comparison type to use for matching with the variable value.

selector

Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.

transforms

List of transforms.

Property Details

matchValue

List of possible match values.

matchValue: string[]

Property Value

string[]

matchVariable

Request variable to compare with.

matchVariable: string

Property Value

string

negateCondition

Describes if the result of this condition should be negated.

negateCondition?: boolean

Property Value

boolean

operator

Comparison type to use for matching with the variable value.

operator: string

Property Value

string

selector

Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.

selector?: string

Property Value

string

transforms

List of transforms.

transforms?: string[]

Property Value

string[]