remote-json-server-0.2: 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

A way of building client SendAPI support, using wreq.

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