# YarpRouteMatch

- 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 route match criteria for a YARP route.

## Definition

```typescript
type YarpRouteMatch = {
  Path: string;
  Methods: string[];
  Hosts: string[];
  Headers: YarpRouteHeaderMatch[];
  QueryParameters: YarpRouteQueryParameterMatch[];
}
```

## Fields

- `Path`: `string`
- `Methods`: `string[]`
- `Hosts`: `string[]`
- `Headers`: `YarpRouteHeaderMatch[]`
- `QueryParameters`: `YarpRouteQueryParameterMatch[]`
