Safe Haskell | None |
---|---|
Language | Haskell98 |
- fullyParse :: ByteString -> Parser a -> Either String a
- parseNum :: Parser Int64
- sp :: Parser Char
- letter :: Parser Char
- digit :: Parser Char
- untilEOL :: Parser ByteString
- crlf :: Parser ByteString
- generateFS :: (Word8 -> Bool) -> FastSet
- spaces :: Parser [Char]
- pSpaces :: Parser ByteString
- fieldChars :: Parser ByteString
- fieldCharSet :: FastSet
- pHeaders :: Parser [(ByteString, ByteString)]
- pWord :: Parser ByteString
- pQuotedString :: Parser ByteString
- isRFCText :: Char -> Bool
- matchAll :: [Char -> Bool] -> Char -> Bool
- pAvPairs :: Parser [(ByteString, ByteString)]
- pAvPair :: Parser (ByteString, ByteString)
- pParameter :: Parser (ByteString, ByteString)
- trim :: ByteString -> ByteString
- pValueWithParameters :: Parser (ByteString, [(CI ByteString, ByteString)])
- pContentTypeWithParameters :: Parser (ByteString, [(CI ByteString, ByteString)])
- pToken :: Parser ByteString
- isToken :: Char -> Bool
- tokenTable :: FastSet
- parseToCompletion :: Parser a -> ByteString -> Maybe a
- type DList a = [a] -> [a]
- pUrlEscaped :: Parser ByteString
- urlDecode :: ByteString -> Maybe ByteString
- urlEncode :: ByteString -> ByteString
- urlEncodeBuilder :: ByteString -> Builder
- urlEncodeTable :: FastSet
- hexd :: Char -> Builder
- finish :: Result a -> Result a
- parseUrlEncoded :: ByteString -> Map ByteString [ByteString]
- buildUrlEncoded :: Map ByteString [ByteString] -> Builder
- printUrlEncoded :: Map ByteString [ByteString] -> ByteString
- pCookies :: Parser [Cookie]
- parseCookie :: ByteString -> Maybe [Cookie]
- strictize :: ByteString -> ByteString
- unsafeFromHex :: (Enum a, Num a, Bits a) => ByteString -> a
- unsafeFromInt :: (Enum a, Num a, Bits a) => ByteString -> a
Documentation
fullyParse :: ByteString -> Parser a -> Either String a Source
generateFS :: (Word8 -> Bool) -> FastSet Source
fieldCharSet :: FastSet Source
pHeaders :: Parser [(ByteString, ByteString)] Source
Parser for request headers.
pAvPairs :: Parser [(ByteString, ByteString)] Source
pAvPair :: Parser (ByteString, ByteString) Source
trim :: ByteString -> ByteString Source
pValueWithParameters :: Parser (ByteString, [(CI ByteString, ByteString)]) Source
tokenTable :: FastSet Source
parseToCompletion :: Parser a -> ByteString -> Maybe a Source
urlDecode :: ByteString -> Maybe ByteString Source
Decodes an URL-escaped string (see http://tools.ietf.org/html/rfc2396.html#section-2.4)
urlEncode :: ByteString -> ByteString Source
URL-escapes a string (see http://tools.ietf.org/html/rfc2396.html#section-2.4)
urlEncodeBuilder :: ByteString -> Builder Source
URL-escapes a string (see
http://tools.ietf.org/html/rfc2396.html#section-2.4) into a Builder
.
urlEncodeTable :: FastSet Source
parseUrlEncoded :: ByteString -> Map ByteString [ByteString] Source
Parses a string encoded in application/x-www-form-urlencoded
format.
buildUrlEncoded :: Map ByteString [ByteString] -> Builder Source
parseCookie :: ByteString -> Maybe [Cookie] Source
strictize :: ByteString -> ByteString Source
unsafeFromHex :: (Enum a, Num a, Bits a) => ByteString -> a Source
unsafeFromInt :: (Enum a, Num a, Bits a) => ByteString -> a Source