WebSockets

github crates.io docs.rs

A WebSocket client implementation.

```rust use websockets::WebSocket;

let mut ws = WebSocket::connect("wss://echo.websocket.org/").await?; ws.sendtext("foo".tostring()).await?; ws.receive().await?; ws.close(None).await?; ```

Features

Usage

The WebSocket type manages the WebSocket connection. Use it to connect, send, and receive data. Data is sent and received through Frames.

License

This project is licensed under the MIT license.

Credits