withMatchHeaders
Function
interface YarpRoute { // ... omitted for brevity withMatchHeaders(headers: YarpRouteHeaderMatch[]): YarpRoute;}Signature
method
withMatchHeaders Matches requests that contain the specified headers.
withMatchHeaders(headers: YarpRouteHeaderMatch[]): YarpRouteParameters
headers YarpRouteHeaderMatch[] Returns
YarpRoute Applies to
This function is an extension method on the following types: