wai-extra-3.1.16: Provides some basic WAI handlers and middleware.
Safe HaskellNone
LanguageHaskell2010

Network.Wai.Middleware.Vhost

Documentation

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

redirectWWW :: Text -> Application -> Application Source #

redirectTo :: ByteString -> Response Source #

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