2018-08-30 22:01:49 +00: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:
|
|
|
|
|
|
|
|
```bash
|
2021-11-17 05:50:23 +00:00
|
|
|
nix-shell --run 'example Chunked'
|
|
|
|
```
|
|
|
|
|
|
|
|
Or, without nix:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
spago -x test.dhall run --main Examples.Chunked.Main
|
2018-08-30 22:01:49 +00:00
|
|
|
```
|