Portability | portable |
---|---|
Stability | experimental |
Maintainer | mukai@jmuk.org |
Mime Parser
Documentation
type Message = ([Header], ByteString)Source
type Header = (FieldName, FieldValue)Source
type FieldValue = StringSource
data MimeDerivs Source
MimeDerivs | |
|
Derivs MimeDerivs |
mime :: ByteString -> MimeSource
message :: ByteString -> MessageSource
eval :: (MimeDerivs -> Result MimeDerivs r) -> ByteString -> rSource
parse :: Pos -> ByteString -> MimeDerivsSource
eval' :: (MimeDerivs -> Result MimeDerivs r) -> String -> rSource
parse' :: Pos -> String -> MimeDerivsSource
pHeader :: MimeDerivs -> Result MimeDerivs (String, String)Source
pMessage :: MimeDerivs -> Result MimeDerivs MessageSource
pMime :: MimeDerivs -> Result MimeDerivs MimeSource
data RFC2047Derivs Source
RFC2047Derivs | |
|
Derivs RFC2047Derivs |
headerExts :: ByteString -> [(CharSet, String)]Source
headerExts' :: String -> [(CharSet, String)]Source
pHeaderExts :: RFC2047Derivs -> Result RFC2047Derivs [(CharSet, String)]Source
decodeQuoted :: Derivs d => Parser d StringSource
showHeader' :: Header -> DocSource
showHeader :: CharSet -> Header -> DocSource
showMessage :: CharSet -> Message -> DocSource