memcache-haskell-0.0.10
Network.Memcache.IO
Description
This is a utility module for handle-based IO opearations
Synopsis
send :: (MonadIO m, Message a) => Handle -> a -> m () Source
Send a message
send socket FlushAllOp
recv :: (MonadIO m, Message a) => Handle -> m (Maybe a) Source
Receive a message
You may need to specify the return type when you call this function like the code shown below.
mresp <- recv socket :: IO (Maybe Response)