| Portability | not portable, uses cunning newtype deriving |
|---|---|
| Stability | experimental |
| Maintainer | johan.tibell@gmail.com |
Hyena.Server
Description
Core module of the server. Receives HTTP requests, runs the application and sends responses.
- serve :: Application -> IO ()
- serveWithConfig :: Config -> Application -> IO ()
Documentation
serve :: Application -> IO ()Source
Forward requests to the given Application forever. Read server
configuration from command line flags.
serveWithConfig :: Config -> Application -> IO ()Source
Forward requests to the given Application forever. Use
supplied server configuration.