host
Create a route to match request host and port. There are no any host resolutions/transformations applied to a host: a request host is treated as a string.
When passes it puts request host and port into call parameters by keys HostRouteSelector.HostNameParameter and HostRouteSelector.PortParameter
Parameters
exact host name that is treated literally
to be tested or 0
to pass all ports
Create a route to match request host and port. There are no any host resolutions/transformations applied to a host: a request host is treated as a string.
When passes it puts request host and port into call parameters by keys HostRouteSelector.HostNameParameter and HostRouteSelector.PortParameter
Parameters
is a regular expression to match request host
to be tested or 0
to pass all ports
Create a route to match request host and port. There are no any host resolutions/transformations applied to a host: a request host is treated as a string.
When passes it puts request host and port into call parameters by keys HostRouteSelector.HostNameParameter and HostRouteSelector.PortParameter
Parameters
a list of exact host names that are treated literally
a list of ports to be passed or empty to pass all ports
Throws
Create a route to match request host and port. There are no any host resolutions/transformations applied to a host: a request host is treated as a string.
When passes it puts request host and port into call parameters by keys HostRouteSelector.HostNameParameter and HostRouteSelector.PortParameter
Parameters
a list of exact host names that are treated literally
a list of regular expressions to match request host
a list of ports to be passed or empty to pass all ports
Throws
when no constraints were applied in host, hostPatterns and ports