purescript-httpurple/docs/Examples/CustomStack
Connor Prussin 1ad5a08306
Add code formatting with purty (#171)
* Add code formatting with purty

* Purtify code
2021-03-22 12:02:36 -07:00
..
Main.purs Add code formatting with purty (#171) 2021-03-22 12:02:36 -07:00
Readme.md Update response functions to return MonadAff m => m Response (#150) 2019-09-29 20:57:15 -07:00

CustomStack Example

This example demonstrates using middleware to introduce a custom monad stack to your application. Here, we run our router within a ReaderT to provide a globally-available environment during routing.

To run the example server, run:

make example EXAMPLE=CustomStack