jsaddle-warp-0.9.2.0: Interface for JavaScript that works with GHCJS and GHC

Safe HaskellNone
LanguageHaskell2010

Language.Javascript.JSaddle.WebSockets

Contents

Description

 

Synopsis

Running JSM over WebSockets

debug :: Int -> JSM () -> IO () Source #

Start or restart the server. To run this as part of every :reload use > :def! reload (const $ return "::reloadnLanguage.Javascript.JSaddle.Warp.debug 3708 SomeMainModule.someMainFunction")

debugWrapper :: (Middleware -> JSM () -> IO ()) -> IO () Source #