Crates.io | humphrey_ws |
lib.rs | humphrey_ws |
version | 0.5.1 |
source | src |
created_at | 2021-11-13 15:03:51.174433 |
updated_at | 2023-10-11 20:12:36.022651 |
description | WebSocket support for the Humphrey web server. |
homepage | https://github.com/w-henderson/Humphrey |
repository | https://github.com/w-henderson/Humphrey |
max_upload_size | |
id | 481433 |
size | 67,032 |
WebSocket support for the Humphrey web server.
Guide ยท
API Reference
Humphrey WebSocket is a crate which extends Humphrey Core with WebSocket support by hooking into the latter's WebsocketHandler
trait. It handles the WebSocket handshake and framing protocol and provides a simple and flexible API for sending and receiving messages. Using Humphrey's generic Stream
type, it supports drop-in TLS. It also has no dependencies in accordance with Humphrey's goals of being dependency-free.
Learn more about Humphrey WebSocket here.