summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Roztocil <jakub@roztocil.co>2020-12-21 12:17:04 +0100
committerJakub Roztocil <jakub@roztocil.co>2020-12-21 12:17:04 +0100
commit1828da6a506b92a078f87731cfe5b974c1d08fce (patch)
treef00069d7a725ffdf12b7c8a1c35e6fc259415578
parent0629f2ff4288e9834a6686e54be2acc65e6f18de (diff)
Update `--stream` example comment
-rw-r--r--README.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index dea063e2..5a92150e 100644
--- a/README.rst
+++ b/README.rst
@@ -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