thrift-0.11.0: Haskell bindings for the Apache Thrift RPC system

Safe HaskellSafe
LanguageHaskell2010

Thrift.Transport

Documentation

class Transport a where Source #

Minimal complete definition

tIsOpen, tClose, tRead, tPeek, tWrite, tFlush

Methods

tIsOpen :: a -> IO Bool Source #

tClose :: a -> IO () Source #

tRead :: a -> Int -> IO ByteString Source #

tPeek :: a -> IO (Maybe Word8) Source #

tWrite :: a -> ByteString -> IO () Source #

tFlush :: a -> IO () Source #

tReadAll :: a -> Int -> IO ByteString Source #

Instances
Transport Handle Source # 
Instance details

Defined in Thrift.Transport.Handle

Transport EmptyTransport Source # 
Instance details

Defined in Thrift.Transport.Empty

Transport HttpClient Source # 
Instance details

Defined in Thrift.Transport.HttpClient

Transport MemoryBuffer Source # 
Instance details

Defined in Thrift.Transport.Memory

Transport t => Transport (FramedTransport t) Source # 
Instance details

Defined in Thrift.Transport.Framed

(Transport i, Transport o) => Transport (HeaderTransport i o) Source # 
Instance details

Defined in Thrift.Transport.Header