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