purescript-httpurple/docs/Examples/Chunked
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
..
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

Chunked Example

This is a basic example of sending chunked data. It will return 'hello world' in two separate chunks spaced a second apart on any URL.

To run the example server, run:

make example EXAMPLE=Chunked