wai-extra-3.0.4.1: Provides some basic WAI handlers and middleware.

Safe HaskellNone
LanguageHaskell98

Network.Wai.Middleware.Vhost

Documentation

vhost :: [(Request -> Bool, Application)] -> Application -> Application Source

redirectWWW :: Text -> Application -> Application Source

redirectToLogged :: (Text -> IO ()) -> ByteString -> IO Response Source