pub async fn put(&self, path: &str, body: Body) -> Response<Body> {
        let req = self.populate_headers(Request::builder());
        self.app
            .dispatch(req.method(Method::PUT).uri(path).body(body).unwrap())
            .await
            .unwrap()
    }
/// Perform a PUT request against the path.
Perform a PUT request against the path.
Perform a PUT request against the path .
pub async fn put(&self, path: &str, body: Body) -> Response<Body> {
        let req = self.populate_headers(Request::builder());
        self.app
            .dispatch(req.method(Method::PUT).uri(path).body(body).unwrap())
            .await
            .unwrap()
    }
pub async fn put ( & self , path : & str , body : Body ) -> Response < Body > { let req = self . populate_headers ( Request :: builder ( ) ) ; self . app . dispatch ( req . method ( Method :: PUT ) . uri ( path ) . body ( body ) . unwrap ( ) ) . await . unwrap ( ) }
Perform a PUT request against the path.
Perform a PUT request against the path .
&self
path
&str
body
Body
&self
path
&str
body
Body