Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data PortPair = PortPair Int Int
- data Reply
- data ErrorType
- data OpsysField = OpsysField Opsys (Maybe Charset)
- data Opsys
- data Charset = USAscii
- data UserID = UserID String
- parsePortPair :: ByteString -> Maybe PortPair
- renderReply :: Reply -> ByteString
- renderPortPair :: PortPair -> Builder
- renderErrorType :: ErrorType -> Builder
- renderOpsysField :: OpsysField -> Builder
- renderUserId :: UserID -> Builder
- renderOpsys :: Opsys -> Builder
- renderCharset :: Maybe Charset -> Builder
Documentation
data OpsysField Source #
parsePortPair :: ByteString -> Maybe PortPair Source #
Parse a port pair request
renderReply :: Reply -> ByteString Source #
Render a reply for a given request
renderPortPair :: PortPair -> Builder Source #
renderErrorType :: ErrorType -> Builder Source #
renderOpsysField :: OpsysField -> Builder Source #
renderUserId :: UserID -> Builder Source #
renderOpsys :: Opsys -> Builder Source #