Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data SocketServer Source #
Instances
Servable SocketServer Source # | |
Defined in Metro.SocketServer newServer :: MonadIO m => ServerConfig SocketServer -> m SocketServer # servOnce :: MonadUnliftIO m => SocketServer -> (Maybe (SID SocketServer, TransportConfig (STP SocketServer)) -> m ()) -> m () # onConnEnter :: MonadIO m => SocketServer -> SID SocketServer -> m () # onConnLeave :: MonadIO m => SocketServer -> SID SocketServer -> m () # servClose :: MonadIO m => SocketServer -> m () # | |
type STP SocketServer Source # | |
Defined in Metro.SocketServer | |
type SID SocketServer Source # | |
Defined in Metro.SocketServer | |
data ServerConfig SocketServer Source # | |
Defined in Metro.SocketServer |