-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | a sexy Haskell Webserver Interface -- -- a sexy Haskell Webserver Interface @package hack @version 2009.4.20 module Hack data RequestMethod OPTIONS :: RequestMethod GET :: RequestMethod HEAD :: RequestMethod POST :: RequestMethod PUT :: RequestMethod DELETE :: RequestMethod TRACE :: RequestMethod CONNECT :: RequestMethod data Hack_UrlScheme HTTP :: Hack_UrlScheme HTTPS :: Hack_UrlScheme type Map = [(String, String)] data Env Env :: RequestMethod -> String -> String -> String -> String -> Int -> Map -> [Int] -> String -> String -> String -> String -> String -> String -> Map -> Env request_method :: Env -> RequestMethod script_name :: Env -> String path_info :: Env -> String query_string :: Env -> String server_name :: Env -> String server_port :: Env -> Int http_ :: Env -> Map hack_version :: Env -> [Int] hack_url_scheme :: Env -> String hack_input :: Env -> String hack_errors :: Env -> String hack_multithread :: Env -> String hack_multiprocess :: Env -> String hack_run_once :: Env -> String custom :: Env -> Map data Response Response :: Int -> Map -> String -> Response status :: Response -> Int headers :: Response -> Map body :: Response -> String type Application = Env -> IO Response type MiddleWareParams = Map type MiddleWare = MiddleWareParams -> Application -> Application instance Show Response instance Show Env instance Show Hack_UrlScheme instance Eq Hack_UrlScheme instance Show RequestMethod instance Read RequestMethod instance Eq RequestMethod instance Default Env instance Default Response instance Default Bool instance Default Hack_UrlScheme instance Default RequestMethod module Hack.Handler.Kibro