Show / Hide Table of Contents

Enum QueryParameterMatchMode

How to match Query Parameter values.

Namespace: Yarp.ReverseProxy.Configuration
Assembly: Yarp.ReverseProxy.dll
Syntax
public enum QueryParameterMatchMode : int

Fields

Name Description
Contains

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

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

Query string key must exist and contain any non-empty value.

NotContains

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

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX