Enum QueryParameterMatchMode
- Namespace
- Yarp.ReverseProxy.Configuration
- Assembly
- Yarp.ReverseProxy.dll
How to match Query Parameter values.
public enum QueryParameterMatchMode
Fields
Contains = 1
Query string key must be present and substring must match for each of the respective query string values. Subject to case sensitivity settings. Only single query parameter name supported. If there are multiple query parameters with the same name then the match fails.
Exact = 0
Query string must match in its entirety, Subject to case sensitivity settings. Only single query parameter name supported. If there are multiple query parameters with the same name then the match fails.
Exists = 4
Query string key must exist and contain any non-empty value.
NotContains = 2
Query string key must be present and value must not match for each of the respective query string values. Subject to case sensitivity settings. If there are multiple values then it needs to not contain ANY of the values Only single query parameter name supported. If there are multiple query parameters with the same name then the match fails.
Prefix = 3
Query string key must be present and prefix must match for each of the respective query string values. Subject to case sensitivity settings. Only single query parameter name supported. If there are multiple query parameters with the same name then the match fails.