iced/examples/websocket
2025-04-05 18:20:31 +02:00
..
src Unify Program definition in iced_program subcrate 2025-03-12 02:10:42 +01:00
Cargo.toml Make sipper dependency optional 2025-04-02 11:10:25 +02:00
README.md Update README file of websocket example 2022-01-16 19:59:59 +07:00

Websocket

A simple example that keeps a WebSocket connection open to an echo server.

The example consists of 3 modules:

  • main contains the Application logic.
  • echo implements a WebSocket client for the echo::server with async-tungstenite.
  • echo::server implements a simple WebSocket echo server with warp.

You can run it with cargo run:

cargo run --package websocket