pub fn log_connection(request: &HttpRequest)
Expand description

Logs connection information for an incoming HTTP request.

§Arguments

  • request - A reference to the Actix web HttpRequest object.

This function logs the host and user agent information of the incoming connection.