| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Thrift.Transport.Header
Documentation
module Thrift.Transport
data HeaderTransport i o Source #
Constructors
| (Transport i, Transport o) => HeaderTransport | |
Fields
| |
Instances
| (Transport i, Transport o) => Transport (HeaderTransport i o) Source # | |
Defined in Thrift.Transport.Header Methods 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 Methods 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 | |
data TransformType Source #
Constructors
| ZlibTransform |
Instances
| Enum TransformType Source # | |
Defined in Thrift.Transport.Header Methods 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 Methods (==) :: TransformType -> TransformType -> Bool # (/=) :: TransformType -> TransformType -> Bool # | |
data ClientType Source #
Constructors
| HeaderClient | |
| Framed | |
| Unframed |
Instances
| Enum ClientType Source # | |
Defined in Thrift.Transport.Header Methods 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 | |
tResetProtocol :: (Transport i, Transport o) => HeaderTransport i o -> IO Bool Source #
tSetProtocol :: (Transport i, Transport o) => HeaderTransport i o -> ProtocolType -> IO () Source #