[Add] Ip tracking
All checks were successful
CI / checks (push) Successful in 5m27s

This commit is contained in:
Alex Emmet 2026-07-20 01:39:27 +02:00
commit 04760fd88d
15 changed files with 136 additions and 20 deletions

View file

@ -1,5 +1,6 @@
use bytes::Bytes;
use http::{HeaderMap, HeaderName, HeaderValue, Method, StatusCode, Uri};
use std::net::SocketAddr;
use tokio::sync::mpsc;
/// An owned HTTP/3 request passed to a route handler.
@ -9,6 +10,7 @@ pub struct Http3Request {
pub uri: Uri,
pub headers: HeaderMap,
pub body: Option<Bytes>,
pub remote_addr: SocketAddr,
}
/// A buffered HTTP/3 response returned from a route handler.