mirror of
https://github.com/httpie/cli.git
synced 2024-11-29 11:13:28 +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
|
.. code-block:: bash
|
||||||
|
|
||||||
# Send each new tweet (JSON object) mentioning "Apple" to another
|
# Send each new line (JSON object) to another URL as soon as it arrives from a streaming API:
|
||||||
# server as soon as it arrives from the Twitter streaming API:
|
|
||||||
$ http --stream httpbin.org/stream/3 | while read line; do echo "$line" | http httpbin.org/post ; done
|
$ http --stream httpbin.org/stream/3 | while read line; do echo "$line" | http httpbin.org/post ; done
|
||||||
|
|
||||||
Sessions
|
Sessions
|
||||||
|
Loading…
Reference in New Issue
Block a user