A test project that uses WebTransport to send data back and forward.
- Install Rust.
- Clone the repository:
git clone https://github.com/bytefall/ping-pong.git
cd ping-pong
- Generate TLS certificate:
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
- Start the server:
cargo run --bin server
- Start the client:
cargo run --bin client
- Clone the repository:
git clone https://github.com/bytefall/ping-pong.git
cd ping-pong
- Generate TLS certificate:
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
- Build the server:
docker build -t ping-pong-server -f ./server/Dockerfile .
- Build the client:
docker build -t ping-pong-client -f ./client/Dockerfile .
- Start compose:
docker compose up