purescript-httpurple/docs/Examples/Binary
Connor Prussin 1adbcecaaa
Chunked responses (#107)
* Chunked responses

* Remove Chunked newtype wrapper around Streams

* Use child process instead of ffi stream for chunked example

* Rename additionalHeaders to defaultHeaders

* Add History.md entry

* General cleanup
2018-08-30 15:01:49 -07:00
..
circle.png Chunked responses (#107) 2018-08-30 15:01:49 -07:00
Main.purs Chunked responses (#107) 2018-08-30 15:01:49 -07:00
Readme.md Chunked responses (#107) 2018-08-30 15:01:49 -07:00

Binary Example

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

To run the server, run:

make example EXAMPLE=Binary