Show / Hide Table of Contents

Enum HeaderMatchMode

How to match header values.

Namespace: Yarp.ReverseProxy.Configuration
Assembly: Yarp.ReverseProxy.dll
Syntax
public enum HeaderMatchMode

Fields

Name Description
Contains

The header must match by contains, subject to case sensitivity settings. Only single headers are supported. If there are multiple headers with the same name then the match fails.

ExactHeader

The header must match in its entirety, subject to case sensitivity settings. Only single headers are supported. If there are multiple headers with the same name then the match fails.

Exists

The header must exist and contain any non-empty value.

HeaderPrefix

The header must match by prefix, subject to case sensitivity settings. Only single headers are supported. If there are multiple headers with the same name then the match fails.

NotContains

The header name must exist and the value must be non-empty and not match, subject to case sensitivity settings. If there are multiple values then it needs to not contain ANY of the values Only single headers are supported. If there are multiple headers with the same name then the match fails.

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