Skip to content

Commit

Permalink
Merge pull request #249 from chmorgan/echo-docs
Browse files Browse the repository at this point in the history
echo-server.rs - Correct usage documentation to refer to the correct …
  • Loading branch information
daniel-abramov committed May 15, 2023
2 parents d810103 + f82e630 commit 966bc5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/echo-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
//!
//! You can test this out by running:
//!
//! cargo run --example server 127.0.0.1:12345
//! cargo run --example echo-server 127.0.0.1:12345
//!
//! And then in another window run:
//!
//! cargo run --example client ws://127.0.0.1:12345/
//!
//! Type a message into the client window, press enter to send it and
//! see it echoed back.

use std::{env, io::Error};

Expand Down

0 comments on commit 966bc5d

Please sign in to comment.