withMatchHosts
Function
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 Applies to
This function is an extension method on the following types: