Safe Haskell | None |
---|
Handles the connections between a memcache client and the various servers that make up the cluster.
- data Connection = Conn {}
- newMemcacheClient :: HostName -> PortNumber -> IO Connection
- send :: Socket -> Request -> IO ()
- sendRecv :: Connection -> Request -> IO Response
- recv :: Socket -> IO Response
Documentation
data Connection Source
A Memcache connection handle. XXX: Should make abstract
newMemcacheClient :: HostName -> PortNumber -> IO ConnectionSource
Establish a new connection to a memcache backend.