Makes a `PATCH` request to the specified URL. The `url` parameter should be a valid URL. Additional options like `headers`, `timeout` or HTTP/3 usage can be passed via the `RequestOptions` struct. If the request is successful, the `reqwest::Response` struct is returned.
(
&self,
url: String,
body: Option<Vec<u8>>,
options: Option<RequestOptions>,
)
| 688 | /// |
| 689 | /// If the request is successful, the `reqwest::Response` struct is returned. |
| 690 | pub async fn patch( |
| 691 | &self, |
| 692 | url: String, |
| 693 | body: Option<Vec<u8>>, |
| 694 | options: Option<RequestOptions>, |
| 695 | ) -> Result<Response, ImpitError> { |
| 696 | self.make_request(Method::PATCH, url, body, options).await |
| 697 | } |
| 698 | |
| 699 | pub fn generate_multipart_boundary(&self) -> String { |
| 700 | match &self.config.fingerprint { |
nothing calls this directly
no test coverage detected