websocket: native RFC 6455 transport (ws:// + wss://) — handshake, framing, ping/pong keepalive, idle timeout, origin/proxy flags, via_websocket

This commit is contained in:
Jean Chevronnet 2026-08-09 18:45:12 +00:00
parent 97b0d8ad89
commit 19157e0722
7 changed files with 633 additions and 0 deletions

View file

@ -34,6 +34,7 @@ pub struct UserFlags {
pub deny_uncommon: bool, // +c (only users sharing a channel may PM you)
pub nick_locked: bool, // NICKLOCK: services/oper holds this nick (no self-change)
pub via_webirc: bool, // connected through a WEBIRC gateway (securitygroups)
pub via_websocket: bool, // connected over the WebSocket transport (ws://, wss://)
pub away: Option<String>, // AWAY message, if set
}