bolt-0.1.0.3: Bolt driver for Neo4j

Safe HaskellNone
LanguageHaskell2010

Database.Bolt.Transport

Documentation

class Transport t where Source #

Minimal complete definition

send, recv, close

Methods

send :: t -> ByteString -> IO () Source #

recv :: t -> Int -> IO ByteString Source #

close :: t -> IO () Source #

sendMany :: t -> [ByteString] -> IO () Source #

put :: Transport t => t -> Put -> IO () Source #

get :: Transport t => t -> Int -> Get a -> IO a Source #

getE :: Transport t => t -> Int -> Get a -> IO (Either String a) Source #