addHost abstract method

Stream<HttpRequest> addHost(
  1. String host
)

Add a host to the VirtualHost instance.

The host can be either a specific domain (my.domain.name) or a wildcard-based domain name (*.domain.name). The former will only match the specific domain name while the latter will match any series of sub-domains.

If both my.domain.name and *.domain.name is specified, the most qualified will take precedence, my.domain.name in this case.

Implementation

Stream<HttpRequest> addHost(String host);