Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype PingPong a = PingPong {
- getPingPong :: Maybe a
- pingPong :: (MonadBaseControl IO m stM, Extractable stM) => Int -> WebSocketsApp m receive send -> m (WebSocketsApp m (PingPong receive) (PingPong send))
Documentation
Uses the JSON literal []
as the ping message
PingPong | |
|
:: (MonadBaseControl IO m stM, Extractable stM) | |
=> Int | Delay in microseconds |
-> WebSocketsApp m receive send | |
-> m (WebSocketsApp m (PingPong receive) (PingPong send)) |