purescript-httpurple/docs/Examples/BinaryResponse/Readme.md
Connor Prussin 6e886b91ac
Add support for non string requests (#184)
* First version of supporting non-string requests

* Clean up

* Minor cleanup

* Simplify to directly export the stream

* Add nl

* Clean up & add more testing

Co-authored-by: sigma-andex <sigma.andex@pm.me>
2021-11-15 20:02:36 -08:00

210 B

Binary Response Example

This is a basic example of sending binary response data. It serves an image file as binary data on any URL.

To run the server, run:

make example EXAMPLE=BinaryResponse