Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Transport tp => Transport (WebSocket tp) Source # | |
Defined in Metro.TP.WebSockets data TransportConfig (WebSocket tp) :: Type # newTransport :: TransportConfig (WebSocket tp) -> IO (WebSocket tp) # recvData :: WebSocket tp -> Int -> IO ByteString # sendData :: WebSocket tp -> ByteString -> IO () # closeTransport :: WebSocket tp -> IO () # | |
data TransportConfig (WebSocket tp) Source # | |
Defined in Metro.TP.WebSockets data TransportConfig (WebSocket tp)
|
serverConfig :: Transport tp => TransportConfig tp -> TransportConfig (WebSocket tp) Source #
clientConfig :: Transport tp => TransportConfig tp -> String -> String -> TransportConfig (WebSocket tp) Source #