Catches any exception thrown by the given CGI action, returns an error page with a 500 Internal Server Error, showing the exception information, and logs the error.
> cgiMain :: CGI CGIResult
> cgiMain = ...
> main :: IO ()
> main = runCGI (handleErrors cgiMain)
Deprecated: Use catchCGI instead.
Exception handler for socket operations.
Extracts the Fd from a Handle. This function has the side effect of closing the Handle and flushing its write buffer, if necessary.
The actions to perform when a signal is received.
This package implemets API for a HandlerSocket client.
A HandleStream-based version of Network.HTTP interface.
For more detailed information about what the individual exports do, please consult the documentation for Network.HTTP. Notice however that the functions here do not perform any kind of normalization prior to transmission (or receipt); you are responsible for doing any such yourself, or, if you prefer, just switch to using Network.HTTP function instead.
Simple event handler set management.
Converts an Fd into a Handle that can be used with the standard Haskell IO library (see System.IO).
GHC only: this function has the side effect of putting the Fd into non-blocking mode (O_NONBLOCK) due to the way the standard IO library implements multithreaded I/O.
Hack handler implemented using System.Linux.Epoll
Hack EvHTTP (libevent) Handler
Hack Happstack server handler
Hyena hack handler
Show more results