Safe Haskell | None |
---|---|
Language | Haskell98 |
- module Data.TCache
- module MFlow
- module MFlow.Forms
- module MFlow.Forms.Widgets
- module MFlow.Forms.Blaze.Html
- module MFlow.Forms.Admin
- module Control.Applicative
- module Text.Blaze.Html5
- module Text.Blaze.Html5.Attributes
- module Control.Monad.IO.Class
- module MFlow.Forms.WebApi
- module MFlow.Forms.Cache
- runNavigation :: String -> FlowM Html (Workflow IO) () -> IO ()
- runSecureNavigation :: String -> FlowM Html (Workflow IO) () -> IO ()
- runSecureNavigation' :: TLSSettings -> Settings -> String -> FlowM Html (Workflow IO) () -> IO ()
Documentation
module Data.TCache
module MFlow
module MFlow.Forms
module MFlow.Forms.Widgets
module MFlow.Forms.Blaze.Html
module MFlow.Forms.Admin
module Control.Applicative
module Text.Blaze.Html5
module Text.Blaze.Html5.Attributes
module Control.Monad.IO.Class
module MFlow.Forms.WebApi
module MFlow.Forms.Cache
runNavigation :: String -> FlowM Html (Workflow IO) () -> IO () Source
Run a persistent flow. It uses getPortW
to get the port
The first parameter is the first element in the URL path.
It also set the home page
The port is read from the first parameter passed to the executable.
If no parameter, it is read from the PORT environment variable.
if this does not exist, the port 80 is used.
runSecureNavigation :: String -> FlowM Html (Workflow IO) () -> IO () Source
Exactly the same as runNavigation, but with TLS added. Expects certificate.pem and key.pem in project directory.
runSecureNavigation' :: TLSSettings -> Settings -> String -> FlowM Html (Workflow IO) () -> IO () Source