Files
RustProxy/src/proxy/websocket.rs
T
2026-10-04 11:15:58 +02:00

13 lines
535 B
Rust

//! WebSocket bootstrap validation and bounded byte-transparent tunnels.
//! HTTP/1.1 uses RFC 6455 Upgrade; HTTP/2 uses RFC 8441 Extended CONNECT;
//! HTTP/3 uses RFC 8441 + RFC 9220 Extended CONNECT. Extended CONNECT keeps
//! WebSocket frames on the request/response stream instead of taking over TCP.
//! No message aggregation, application-specific routing or payload logging.
include!("websocket/handshake.rs");
include!("websocket/tunnel.rs");
include!("websocket/validation.rs");
#[cfg(test)]
include!("websocket/tests.rs");