MCPcopy Create free account
hub / github.com/apify/impit / patch

Method patch

impit/src/impit.rs:690–697  ·  view source on GitHub ↗

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>,
    )

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

make_requestMethod · 0.80

Tested by

no test coverage detected