Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
module Thrift.Transport
data HeaderTransport i o Source #
(Transport i, Transport o) => HeaderTransport | |
|
Instances
(Transport i, Transport o) => Transport (HeaderTransport i o) Source # | |
Defined in Thrift.Transport.Header tIsOpen :: HeaderTransport i o -> IO Bool Source # tClose :: HeaderTransport i o -> IO () Source # tRead :: HeaderTransport i o -> Int -> IO ByteString Source # tPeek :: HeaderTransport i o -> IO (Maybe Word8) Source # tWrite :: HeaderTransport i o -> ByteString -> IO () Source # tFlush :: HeaderTransport i o -> IO () Source # tReadAll :: HeaderTransport i o -> Int -> IO ByteString Source # |
openHeaderTransport :: (Transport i, Transport o) => i -> o -> IO (HeaderTransport i o) Source #
data ProtocolType Source #
Instances
Enum ProtocolType Source # | |
Defined in Thrift.Transport.Header succ :: ProtocolType -> ProtocolType # pred :: ProtocolType -> ProtocolType # toEnum :: Int -> ProtocolType # fromEnum :: ProtocolType -> Int # enumFrom :: ProtocolType -> [ProtocolType] # enumFromThen :: ProtocolType -> ProtocolType -> [ProtocolType] # enumFromTo :: ProtocolType -> ProtocolType -> [ProtocolType] # enumFromThenTo :: ProtocolType -> ProtocolType -> ProtocolType -> [ProtocolType] # | |
Eq ProtocolType Source # | |
Defined in Thrift.Transport.Header (==) :: ProtocolType -> ProtocolType -> Bool # (/=) :: ProtocolType -> ProtocolType -> Bool # |
data TransformType Source #
Instances
Enum TransformType Source # | |
Defined in Thrift.Transport.Header succ :: TransformType -> TransformType # pred :: TransformType -> TransformType # toEnum :: Int -> TransformType # fromEnum :: TransformType -> Int # enumFrom :: TransformType -> [TransformType] # enumFromThen :: TransformType -> TransformType -> [TransformType] # enumFromTo :: TransformType -> TransformType -> [TransformType] # enumFromThenTo :: TransformType -> TransformType -> TransformType -> [TransformType] # | |
Eq TransformType Source # | |
Defined in Thrift.Transport.Header (==) :: TransformType -> TransformType -> Bool # (/=) :: TransformType -> TransformType -> Bool # |
data ClientType Source #
Instances
Enum ClientType Source # | |
Defined in Thrift.Transport.Header succ :: ClientType -> ClientType # pred :: ClientType -> ClientType # toEnum :: Int -> ClientType # fromEnum :: ClientType -> Int # enumFrom :: ClientType -> [ClientType] # enumFromThen :: ClientType -> ClientType -> [ClientType] # enumFromTo :: ClientType -> ClientType -> [ClientType] # enumFromThenTo :: ClientType -> ClientType -> ClientType -> [ClientType] # | |
Eq ClientType Source # | |
Defined in Thrift.Transport.Header (==) :: ClientType -> ClientType -> Bool # (/=) :: ClientType -> ClientType -> Bool # |
tResetProtocol :: (Transport i, Transport o) => HeaderTransport i o -> IO Bool Source #
tSetProtocol :: (Transport i, Transport o) => HeaderTransport i o -> ProtocolType -> IO () Source #