pub async fn log_error_with_client_ip(
req: Request<Body>,
next: Next,
) -> ResponseExpand description
Middleware that logs HTTP error responses (4xx/5xx) with client IP address.
Extracts client address from [ConnectInfo] if available.
pub async fn log_error_with_client_ip(
req: Request<Body>,
next: Next,
) -> ResponseMiddleware that logs HTTP error responses (4xx/5xx) with client IP address.
Extracts client address from [ConnectInfo] if available.