11 unstable releases (3 breaking)

0.4.0 May 21, 2022
0.3.4 May 3, 2022
0.3.3 Apr 11, 2022
0.3.2 Mar 22, 2022
0.1.1 Nov 20, 2021

#23 in WebSocket

Download history 23/week @ 2022-03-14 46/week @ 2022-03-21 5/week @ 2022-03-28 10/week @ 2022-04-04 36/week @ 2022-04-11 7/week @ 2022-04-18 51/week @ 2022-04-25 94/week @ 2022-05-02 16/week @ 2022-05-09 199/week @ 2022-05-16 56/week @ 2022-05-23 71/week @ 2022-05-30 39/week @ 2022-06-06 4/week @ 2022-06-13 6/week @ 2022-06-20

132 downloads per month

MIT license

240KB
5K SLoC

Humphrey WebSocket

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.


lib.rs:

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.

It provides both synchronous and asynchronous WebSocket functionality.

Learn more about Humphrey WebSocket here.

Dependencies