hack-contrib-2009.6.9: Hack contribSource codeContentsIndex
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
httpdate :: 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 :: ApplicationSource
use :: [Middleware] -> MiddlewareSource
usage: app.use [content_type, cache]
put :: String -> String -> [(String, String)] -> [(String, String)]Source
get :: String -> [(String, String)] -> Maybe StringSource
bytesize :: ByteString -> IntSource
dummy_middleware :: MiddlewareSource
dummy_app :: ApplicationSource
escape_html :: String -> StringSource
escape_uri :: String -> StringSource
unescape_uri :: String -> StringSource
show_status_message :: Int -> Maybe StringSource
httpdate :: UTCTime -> StringSource
request_method :: Env -> RequestMethodSource
script_name :: Env -> StringSource
path_info :: Env -> StringSource
query_string :: Env -> StringSource
server_name :: Env -> StringSource
server_port :: Env -> IntSource
hack_version :: Env -> [Int]Source
hack_url_scheme :: Env -> Hack_UrlSchemeSource
hack_input :: Env -> ByteStringSource
hack_errors :: Env -> HackErrorsSource
custom :: Env -> [(String, String)]Source
Produced by Haddock version 2.4.2