mirror of
https://github.com/actix/examples
synced 2025-06-27 01:27:43 +02:00
Add rust client to echo-actorless
- Make it easier for users to find rust code they can use for the client - Remove the need to install websocat to get cli
This commit is contained in:
@ -8,7 +8,7 @@ Simple echo websocket server using [`actix-ws`].
|
||||
|
||||
```sh
|
||||
cd websockets/echo-actorless
|
||||
cargo run
|
||||
cargo run --bin websocket-server
|
||||
# starting HTTP server at http://localhost:8080
|
||||
```
|
||||
|
||||
@ -16,6 +16,13 @@ cargo run
|
||||
|
||||
Go to <http://localhost:8080> in a browser.
|
||||
|
||||
### rust client
|
||||
|
||||
```sh
|
||||
cd websockets/echo-actorless
|
||||
cargo run --bin websocket-client
|
||||
```
|
||||
|
||||
### CLI Client
|
||||
|
||||
```sh
|
||||
|
Reference in New Issue
Block a user