diff options
author | Jakub Roztocil <jakub@roztocil.co> | 2020-12-21 12:17:04 +0100 |
---|---|---|
committer | Jakub Roztocil <jakub@roztocil.co> | 2020-12-21 12:17:04 +0100 |
commit | 1828da6a506b92a078f87731cfe5b974c1d08fce (patch) | |
tree | f00069d7a725ffdf12b7c8a1c35e6fc259415578 | |
parent | 0629f2ff4288e9834a6686e54be2acc65e6f18de (diff) |
Update `--stream` example comment
-rw-r--r-- | README.rst | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |