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 +```