1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-04 20:31:55 +01:00
actix-web/examples/websocket
2018-04-06 19:34:55 -07:00
..
src simplify StaticFiles 2018-04-06 19:34:55 -07:00
Cargo.toml use actix 0.5 release 2018-02-17 13:33:38 -08:00
README.md fix typo 2018-03-16 19:03:16 +09:00
websocket-client.py move examples/websocket.rs to examples/websocket 2017-12-30 21:47:39 +01:00

websocket

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