iced/examples/websocket
Héctor Ramón Jiménez 15057a05c1
Introduce center widget helper
... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.

This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
2024-05-03 09:11:46 +02:00
..
src Introduce center widget helper 2024-05-03 09:11:46 +02:00
Cargo.toml Update async-tungstenite dependency in websocket example 2024-02-09 23:42:36 +01: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