x_request_id

Function x_request_id 

Source
pub async fn x_request_id<A: XRequestIdAlgo>(
    request: Request<SgBody>,
    inner: Inner,
) -> Response<SgBody>
Expand description

Add a x-request-id header to the request and then response.

If the request already has a x-request-id header, it will be used.