HostDirectives allow you to filter requests based on the hostname part of the Host header
contained in incoming requests as well as extracting its value for usage in inner routes.
spray is no longer maintained and has been superseded by
Akka HTTP.
Please check out the
migration guide
for help with the upgrade.
Commercial support is available from Lightbend.