1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

chore: fmt

This commit is contained in:
Rob Ede
2024-08-07 02:04:57 +01:00
parent b7b1005d2a
commit f30795f014
16 changed files with 100 additions and 89 deletions

View File

@ -31,13 +31,13 @@ cargo run --bin websocket-chat-server
## WebSocket Browser Client
Open url: [http://localhost:8080/](http://localhost:8080/)
Use two tabs to set up a proper conversation.
- Open in browser: <http://localhost:8080/>.
- Use two tabs to set up a proper conversation.
## Python Client using aiohttp
Client connects to server. Reads input from stdin and sends to server.
Create a venv environment `python3 -m venv venv`
Launch venv environment `source ./venv/bin/activate`
Fetch the needed python libraries `pip3 install -r requirements.txt`
Then start client as `./client.py`
- Client connects to server. Reads input from stdin and sends to server.
- Create a venv environment `python3 -m venv venv`.
- Launch venv environment `source ./venv/bin/activate`.
- Fetch the needed python libraries `pip3 install -r requirements.txt`.
- Then start client as `./client.py`.