Safe Haskell | None |
---|
- runServer :: ServerSettings (MemcachedT IO) -> IO ()
- data ServerSettings m
- serverSettings :: Monad m => Int -> HostPreference -> ServerSettings m
Documentation
runServer :: ServerSettings (MemcachedT IO) -> IO ()Source
data ServerSettings m
Settings for a TCP server. It takes a port to listen on, and an optional hostname to bind to.
Since 0.6.0
:: Monad m | |
=> Int | port to bind to |
-> HostPreference | host binding preferences |
-> ServerSettings m |
Smart constructor.
Since 0.6.0