MFlow- stateful, RESTful web framework

Safe HaskellNone






module MFlow

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.