hack-2009.4.25: a sexy Haskell Webserver Interface
Source code
Contents
Index
Hack
Documentation
data
RequestMethod
Source
Constructors
OPTIONS
GET
HEAD
POST
PUT
DELETE
TRACE
CONNECT
Instances
Eq
RequestMethod
Read
RequestMethod
Show
RequestMethod
Default
RequestMethod
data
Hack_UrlScheme
Source
Constructors
HTTP
HTTPS
Instances
Eq
Hack_UrlScheme
Show
Hack_UrlScheme
Default
Hack_UrlScheme
type
Map
= [(
String
,
String
)]
Source
type
Stream
=
String
->
IO
()
Source
type
HackErrors
=
Stream
Source
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
Instances
Show
Env
Default
Env
data
Response
Source
Constructors
Response
status
::
Int
headers
::
Map
body
::
String
Instances
Show
Response
Default
Response
type
Application
=
Env
->
IO
Response
Source
type
MiddleWare
=
Application
->
Application
Source
Produced by
Haddock
version 2.4.2