From 1722f1baadd56f7f34d1dc2ee2ee1d5da12838db Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Tue, 17 Sep 2024 11:26:01 -0400 Subject: [PATCH] add README.md for streaming example --- capnp-rpc/examples/pubsub/README.md | 2 +- capnp-rpc/examples/streaming/README.md | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 capnp-rpc/examples/streaming/README.md diff --git a/capnp-rpc/examples/pubsub/README.md b/capnp-rpc/examples/pubsub/README.md index 8cee0b9b9..cd1fe3408 100644 --- a/capnp-rpc/examples/pubsub/README.md +++ b/capnp-rpc/examples/pubsub/README.md @@ -10,4 +10,4 @@ Then start any number of clients like this: ``` $ cargo run client 127.0.0.1:4000 -``` \ No newline at end of file +``` diff --git a/capnp-rpc/examples/streaming/README.md b/capnp-rpc/examples/streaming/README.md new file mode 100644 index 000000000..b7f7f5384 --- /dev/null +++ b/capnp-rpc/examples/streaming/README.md @@ -0,0 +1,13 @@ +# streaming example + +Start the server like this: + +``` +$ cargo run server 127.0.0.1:5000 +``` + +Then start any number of clients like this: + +``` +cargo run client 127.0.0.1:5000 1000000 64000 +```