mirror of
https://github.com/httpie/cli.git
synced 2024-11-26 01:33:33 +01:00
Update --stream
example comment
This commit is contained in:
parent
0629f2ff42
commit
1828da6a50
@ -1728,8 +1728,7 @@ Streamed output by small chunks à la ``tail -f``:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
# Send each new tweet (JSON object) mentioning "Apple" to another
|
||||
# server as soon as it arrives from the Twitter streaming API:
|
||||
# Send each new line (JSON object) to another URL as soon as it arrives from a streaming API:
|
||||
$ http --stream httpbin.org/stream/3 | while read line; do echo "$line" | http httpbin.org/post ; done
|
||||
|
||||
Sessions
|
||||
|
Loading…
Reference in New Issue
Block a user