rustic_server::log

Function print_request_response

Source
pub async fn print_request_response(
    req: Request,
    next: Next,
) -> Result<impl IntoResponse, ApiErrorKind>
Expand description

Router middleware function to print additional information on the request and response.