happstack-server-0.3.2: Web related tools and services.Source codeContentsIndex
Happstack.Server.MessageWrap
Synopsis
queryInput :: SURI -> [(String, Input)]
bodyInput :: Request -> [(String, Input)]
formDecode :: String -> [(String, Input)]
decodeBody :: Maybe ContentType -> ByteString -> [(String, Input)]
multipartDecode :: [(String, String)] -> ByteString -> [(String, Input)]
bodyPartToInput :: BodyPart -> (String, Input)
simpleInput :: String -> Input
defaultInputType :: ContentType
pathEls :: String -> [String]
class Read a => ReadString a where
readString :: String -> a
Documentation
queryInput :: SURI -> [(String, Input)]Source
bodyInput :: Request -> [(String, Input)]Source
formDecode :: String -> [(String, Input)]Source
Decodes application/x-www-form-urlencoded inputs.
decodeBody :: Maybe ContentType -> ByteString -> [(String, Input)]Source
multipartDecodeSource
:: [(String, String)]Content-type parameters
-> ByteStringRequest body
-> [(String, Input)]Input variables and values.
Decodes multipart/form-data input.
bodyPartToInput :: BodyPart -> (String, Input)Source
simpleInput :: String -> InputSource
Packs a string into an Input of type text/plain
defaultInputType :: ContentTypeSource
The default content-type for variables.
pathEls :: String -> [String]Source
Get the path components from a String.
class Read a => ReadString a whereSource
Like Read except Strings and Chars not quoted.
Methods
readString :: String -> aSource
show/hide Instances
Produced by Haddock version 2.4.2