ghci-websockets-0.0.2: A websocket server that survives GHCi reloads

Safe HaskellNone
LanguageHaskell2010

Ghci.Server.Websockets.Internal

Synopsis

Documentation

send :: ToJSON a => a -> IO () Source #

Send a JSON object to all clients. Throws an exception if initialise has not been run first.

startConfig :: Config -> IO () Source #

Start the websocket server using the port specified in the config. Call once per GHCi session.