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 body_codec;
14pub mod budget;
15pub mod circuit_breaker;
16pub mod http;
17pub mod http_utils;
18pub mod server;
19pub mod tap;
20pub mod throttle;
21pub mod tunnel;
22pub mod websocket;
23
24pub use server::start_proxy;