mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00
Add a REST example that streams its response
This commit is contained in:
parent
bce7b860ee
commit
f9dd3c9e54
9 changed files with 208 additions and 0 deletions
3
examples/rest_stream_response/start.sh
Executable file
3
examples/rest_stream_response/start.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
erl -pa ebin deps/*/ebin -s rest_stream_response \
|
||||
-eval "io:format(\"Streaming results: curl -i http://localhost:8080~n\")."
|
Loading…
Add table
Add a link
Reference in a new issue