withMatchHeaders
Method
interface YarpRoute { // ... omitted for brevity withMatchHeaders(headers: YarpRouteHeaderMatch[]): YarpRoute;}Signature
method
withMatchHeaders Only match requests that contain all of these headers.
withMatchHeaders(headers: YarpRouteHeaderMatch[]): YarpRouteParameters
headers YarpRouteHeaderMatch[] Returns
YarpRoute Applies to
This method applies to the following types: