YarpRoute.withMatchHosts
Method
interface YarpRoute { // ... omitted for brevity withMatchHosts(hosts: string[]): YarpRoute;}Signature
method
withMatchHosts Matches requests that contain the specified host headers.
withMatchHosts(hosts: string[]): YarpRouteParameters
hosts string[] Returns
YarpRoute Defined on
This method is defined on the following type: