Safe Haskell | None |
---|---|
Language | Haskell2010 |
- run :: Int -> JSM () -> IO ()
- jsaddleOr :: ConnectionOptions -> JSM () -> Application -> Application
- jsaddleApp :: Application
Running JSM over WebSockets
run :: Int -> JSM () -> IO () Source #
Run the given JSM
action as the main entry point. Either directly
in GHCJS or as a Warp server on the given port on GHC.
jsaddleOr :: ConnectionOptions -> JSM () -> Application -> Application Source #