Files
purescript-httpurple/docs/Examples/Chunked
Connor Prussin 8295d8755e Clean up imports (#185)
* Clean up import declarations to only use qualified when necessary

* Remove unused imports
2021-11-18 22:16:35 -08:00
..
2021-11-18 22:16:35 -08: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:

nix-shell --run 'example Chunked'

Or, without nix:

spago -x test.dhall run --main Examples.Chunked.Main