Safe Haskell | None |
---|---|
Language | Haskell2010 |
- scottyReceiveAPI :: (ScottyError e, MonadIO m) => (ReceiveAPI :~> IO) -> ActionT e m ()
- serverReceiveAPI :: Int -> String -> (ReceiveAPI :~> IO) -> IO ()
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.