relay_core_lib/proxy/mod.rs
1//! Proxy module
2//!
3//! This module handles the core proxy server logic.
4//!
5//! Responsibilities:
6//! - `server`: Entry point (`start_proxy`) and main connection loop (accepts connections, spawns handlers).
7//! - `http`: HTTP-specific handling (request parsing, MITM, request/response modification).
8//! - `tunnel`: HTTP CONNECT tunnel handling (blind TCP forwarding or MITM upgrade).
9//! - `websocket`: WebSocket framing, message interception, and forwarding.
10//! - `body_codec`: Handling of HTTP body streams (decompression, buffering for inspection).
11//! - `tap`: Tapping body streams for UI updates.
12
13pub mod server;
14pub mod http;
15pub mod http_utils;
16pub mod tunnel;
17pub mod websocket;
18pub mod body_codec;
19pub mod tap;
20
21pub use server::start_proxy;