websockets-simple-0.0.6.3: Simpler interface to the websockets api

Safe HaskellNone
LanguageHaskell2010

Network.WebSockets.Simple.PingPong

Synopsis

Documentation

newtype PingPong a #

Constructors

PingPong 

Fields

Instances

ToJSON a => ToJSON (PingPong a) #

Assumes a isn't an Array of anything

FromJSON a => FromJSON (PingPong a) #

Assumes a isn't an Array of anything

pingPong #

Arguments

:: MonadBaseControl IO m 
=> Int

Delay in microseconds

-> WebSocketsApp send receive m 
-> m (WebSocketsApp (PingPong send) (PingPong receive) m)