Match against the given host.
This allows you to define APIs over multiple domains. For example:
type API = Host "api1.example" :> API1
:<|> Host "api2.example" :> API2:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11
Moduleservant-0.20.3.0Haskell2010
Match against the given host.
This allows you to define APIs over multiple domains. For example:
type API = Host "api1.example" :> API1
:<|> Host "api2.example" :> API2