mirror of
https://github.com/actix/examples
synced 2025-01-22 22:05:57 +01:00
89d2e4e3f7
* chore: fix typo for `run-in-thread` * chore: update some deps for examples
websocket
Simple echo websocket server.
Usage
server
cd examples/websocket
cargo run --bin websocket-server
# Started http server: 127.0.0.1:8080
web client
rust client
cd examples/websocket
cargo run --bin websocket-client
python client
pip install aiohttp
python websocket-client.py
if ubuntu :
pip3 install aiohttp
python3 websocket-client.py