1
0
mirror of https://github.com/actix/examples synced 2025-09-03 04:09:28 +02:00

update all websocket examples to v4

This commit is contained in:
Rob Ede
2022-02-18 01:44:53 +00:00
parent 1b23e3ff3d
commit 4d8573c3fe
40 changed files with 1340 additions and 1682 deletions

View File

@@ -1,22 +1,21 @@
# websocket
# WebSocket Autobahn Test Server
Websocket server for autobahn suite testing.
WebSocket server for the [Autobahn WebSocket protocol testsuite](https://github.com/crossbario/autobahn-testsuite).
## Usage
### server
### Server
```bash
cd websockets/autobahn
cargo run --bin websocket-autobahn-server
cargo run
```
### Running Autobahn Test Suite
Running the autobahn test suite is easiest using the docker image
as explained on the [autobahn-testsuite repo](https://github.com/crossbario/autobahn-testsuite#using-the-testsuite-docker-image).
Running the autobahn test suite is easiest using the docker image as explained on the [autobahn test suite repo](https://github.com/crossbario/autobahn-testsuite#using-the-testsuite-docker-image).
First, start a server (see above). Then, run the test suite in fuzzingclient mode:
After starting the server, in the same directory, run the test suite in "fuzzing client" mode:
```bash
docker run -it --rm \