Safe Haskell | None |
---|
- data AppData m = AppData {
- appSource :: Source m ByteString
- appSink :: Sink ByteString m ()
- appSockAddr :: SockAddr
- appLocalAddr :: Maybe SockAddr
- data ServerSettings m = ServerSettings {
- serverPort :: Int
- serverHost :: HostPreference
- serverAfterBind :: Socket -> m ()
- serverNeedLocalAddr :: Bool
- data ClientSettings m = ClientSettings {}
Documentation
The data passed to an Application
.
Since 0.6.0
AppData | |
|
data ServerSettings m Source
Settings for a TCP server. It takes a port to listen on, and an optional hostname to bind to.
Since 0.6.0
ServerSettings | |
|
data ClientSettings m Source
Settings for a TCP client, specifying how to connect to the server.
Since 0.6.0