pub async fn get_client_ip(req: Request) -> Json<ClientIpResponse>Expand description
Endpoint handler for GET /api/ip.
Detects the remote client IP from reverse proxy headers (e.g.
CF-Connecting-IP, X-Forwarded-For, X-Real-IP) or
ConnectInfo<SocketAddr>, and reports the current server system time in
nanoseconds.