Skip to main content

log_response

Function log_response 

Source
pub async fn log_response(request: Request, next: Next) -> Response
Expand description

Middleware logging method, target, status, bytes, time to the response head (a download’s body is still streaming), the key’s hash prefix and the agent.