# YarpRouteHeaderMatch

- Module: [Aspire.Hosting.Yarp](/reference/api/typescript/aspire.hosting.yarp.md)
- Version: `13.4.0`
- Kind: `type`
- Source: [GitHub](https://github.com/microsoft/aspire)

Represents a header-based route match for a YARP route.

## Definition

```typescript
type YarpRouteHeaderMatch = {
  Name: string;
  Values: string[];
  IsCaseSensitive: boolean;
  Mode: HeaderMatchMode;
}
```

## Fields

- `Name`: `string`
- `Values`: `string[]`
- `IsCaseSensitive`: `boolean`
- `Mode`: `HeaderMatchMode`
