snap-core-0.9.6.3: Snap: A Haskell Web Framework (core interfaces and types)

Safe HaskellNone
LanguageHaskell98

Snap.Internal.Parsing

Synopsis

Documentation

sp :: Parser Char

Parsers for different tokens in an HTTP request.

letter :: Parser Char

Parsers for different tokens in an HTTP request.

digit :: Parser Char

Parsers for different tokens in an HTTP request.

generateFS :: (Word8 -> Bool) -> FastSet

spaces :: Parser [Char]

Parser for zero or more spaces.

fieldCharSet :: FastSet

pHeaders :: Parser [(ByteString, ByteString)]

Parser for request headers.

matchAll :: [Char -> Bool] -> Char -> Bool

tokenTable :: FastSet

type DList a = [a] -> [a]

urlEncodeTable :: FastSet

finish :: Result a -> Result a

parseUrlEncoded :: ByteString -> Map ByteString [ByteString]

Parses a string encoded in application/x-www-form-urlencoded format.

unsafeFromHex :: (Enum a, Num a, Bits a) => ByteString -> a

unsafeFromInt :: (Enum a, Num a, Bits a) => ByteString -> a