1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-12-01 02:44:37 +01:00
actix-extras/examples/websocket
2018-01-03 19:11:40 -08:00
..
src use explicit actix:: mod 2018-01-03 19:11:40 -08:00
Cargo.toml move examples/websocket.rs to examples/websocket 2017-12-30 21:47:39 +01:00
README.md move examples/websocket.rs to examples/websocket 2017-12-30 21:47:39 +01:00
websocket-client.py move examples/websocket.rs to examples/websocket 2017-12-30 21:47:39 +01:00

websockect

Simple echo websocket server.

Usage

server

cd actix-web/examples/websocket
cargo run
# Started http server: 127.0.0.1:8080

web client

python client

  • pip install aiohttp
  • python websocket-client.py

if ubuntu :

  • pip3 install aiohttp
  • python3 websocket-client.py