dingo-core-0.1.0: Dingo is a Rich Internet Application platform based on the Warp web server.




data DingoSettings Source

Settings for the Dingo application. This is kept as an abstract type to avoid breaking applications when fields are added. You should use record syntax to change the defaults, e.g.

 defaultDingoSettings { dsPort = 4900 }

defaultDingoSettings :: DingoSettingsSource

Default settings for the Dingo application.

dsPort :: DingoSettings -> IntSource

Port to listen on. Default value: 3000

dsResourceBundles :: DingoSettings -> [ResourceBundle]Source

Starting resource bundles. Default value: []

runApplication :: DingoSettings -> Text -> (Application -> CallbackM ()) -> IO ()Source

Run the application with the given settings.