hack-2009.4.25: a sexy Haskell Webserver InterfaceSource codeContentsIndex
Hack
Documentation
data RequestMethod Source
Constructors
OPTIONS
GET
HEAD
POST
PUT
DELETE
TRACE
CONNECT
show/hide Instances
data Hack_UrlScheme Source
Constructors
HTTP
HTTPS
show/hide Instances
type Map = [(String, String)]Source
type Stream = String -> IO ()Source
type HackErrors = StreamSource
data Env Source
Constructors
Env
request_method :: RequestMethod
script_name :: String
path_info :: String
query_string :: String
server_name :: String
server_port :: Int
http :: Map
hack_version :: [Int]
hack_url_scheme :: Hack_UrlScheme
hack_input :: String
hack_errors :: HackErrors
hack_multithread :: Bool
hack_multiprocess :: Bool
hack_run_once :: Bool
custom :: Map
show/hide Instances
data Response Source
Constructors
Response
status :: Int
headers :: Map
body :: String
show/hide Instances
type Application = Env -> IO ResponseSource
type MiddleWare = Application -> ApplicationSource
Produced by Haddock version 2.4.2