remote-json-server-0.2.0.1: Web server wrapper for remote-json

Safe HaskellNone
LanguageHaskell2010

Control.Remote.Monad.JSON.Server

Contents

Synopsis

Ways of building the actionable parts of a Scotty server

scottyReceiveAPI :: (ScottyError e, MonadIO m) => (ReceiveAPI :~> IO) -> ActionT e m () Source

Build the ActionT action for Scotty.

serverReceiveAPI :: Int -> String -> (ReceiveAPI :~> IO) -> IO () Source

Blocking function that listens on a specific port, to a specific path.