pub async fn validate<Validator>( validator: Validator, req: Request<Body>, ) -> Result<Request<Body>, Error<Validator::Error>>where Validator: Validator<Bytes>,
Validate the hyper::Request.
hyper::Request