hack-contrib-2009.8.16: Hack contrib
Source code
Contents
Index
Hack.Contrib.Utils
Synopsis
empty_app
::
Application
use
:: [
Middleware
] ->
Middleware
put
::
String
->
String
-> [(
String
,
String
)] -> [(
String
,
String
)]
get
::
String
-> [(
String
,
String
)] ->
Maybe
String
bytesize
::
ByteString
->
Int
dummy_middleware
::
Middleware
dummy_app
::
Application
escape_html
::
String
->
String
escape_uri
::
String
->
String
unescape_uri
::
String
->
String
show_status_message
::
Int
->
Maybe
String
now
::
IO
UTCTime
httpdate
::
UTCTime
->
String
format_time
::
String
->
UTCTime
->
String
request_method
::
Env
->
RequestMethod
script_name
::
Env
->
String
path_info
::
Env
->
String
query_string
::
Env
->
String
server_name
::
Env
->
String
server_port
::
Env
->
Int
hack_version
::
Env
-> [
Int
]
hack_url_scheme
::
Env
->
Hack_UrlScheme
hack_input
::
Env
->
ByteString
hack_errors
::
Env
->
HackErrors
custom
::
Env
-> [(
String
,
String
)]
Documentation
empty_app
::
Application
Source
use
:: [
Middleware
] ->
Middleware
Source
usage: app.use [content_type, cache]
put
::
String
->
String
-> [(
String
,
String
)] -> [(
String
,
String
)]
Source
get
::
String
-> [(
String
,
String
)] ->
Maybe
String
Source
bytesize
::
ByteString
->
Int
Source
dummy_middleware
::
Middleware
Source
dummy_app
::
Application
Source
escape_html
::
String
->
String
Source
escape_uri
::
String
->
String
Source
unescape_uri
::
String
->
String
Source
show_status_message
::
Int
->
Maybe
String
Source
now
::
IO
UTCTime
Source
httpdate
::
UTCTime
->
String
Source
format_time
::
String
->
UTCTime
->
String
Source
request_method
::
Env
->
RequestMethod
Source
script_name
::
Env
->
String
Source
path_info
::
Env
->
String
Source
query_string
::
Env
->
String
Source
server_name
::
Env
->
String
Source
server_port
::
Env
->
Int
Source
hack_version
::
Env
-> [
Int
]
Source
hack_url_scheme
::
Env
->
Hack_UrlScheme
Source
hack_input
::
Env
->
ByteString
Source
hack_errors
::
Env
->
HackErrors
Source
custom
::
Env
-> [(
String
,
String
)]
Source
Produced by
Haddock
version 2.4.2