The wai-handler-devel package

[Tags: deprecated, library, mit, program]

Deprecated in favor of yesod-bin

This handler automatically reloads your source code upon any changes. It works by using the hint package, essentially embedding GHC inside the handler. The handler (both the executable and library) takes three arguments: the port to listen on, the module name containing the application function, and the name of the function.

One major note: the type of the application is most likely not what you expect. A common case for WAI applications is having a withApplication function, and this library assumes this is the case. Therefore, the type signature of your application function must be:

 withYourApp :: (Application -> IO ()) -> IO ()

Properties

Versions0.0.0, 0.0.1, 0.0.2, 0.1.0, 0.1.0.1, 0.1.1, 0.1.1.1, 0.1.1.2, 0.2.0, 0.2.0.1, 0.2.1, 0.4.0, 0.4.2, 0.4.3, 0.4.3.1, 0.4.4, 0.4.4.1, 1.0.0, 1.1.0, 1.2.0, 1.2.0.1, 1.2.0.2, 1.3.0, 1.3.0.1, 1.3.0.2, 1.3.0.3, 1.3.0.4, 1.3.0.5, 1.3.0.6, 2.0.0, 2.0.0.1, 2.0.0.2
Dependenciesattoparsec (>=0.10), base (==4.*), bytestring (>=0.9.1.4 && <0.10), cmdargs (>=0.4), directory (>=1.0.1 && <1.2), enumerator (>=0.4.8 && <0.5), hint (>=0.3.2.3 && <0.4), http-types (==0.6.*), network (>=2.2.1.5 && <2.4), old-time (==1.0.*), text (>=0.7 && <0.12), transformers (>=0.2.2 && <0.3), wai (==0.4.*), wai-extra (==0.4.*), warp (==0.4.*)
LicenseBSD3
AuthorMichael Snoyman
Maintainermichael@snoyman.com
StabilityStable
CategoryWeb
Home pagehttp://github.com/snoyberg/wai-handler-devel
Source repositoryhead: git clone git://github.com/snoyberg/wai-handler-devel.git
Executableswai-handler-devel-unwatched, wai-handler-devel
Upload dateMon Nov 28 18:00:52 UTC 2011
Uploaded byMichaelSnoyman
Downloads2007 total (207 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees