Session::patch( $url, $headers, $data = array(), $options = array() )
Send a PATCH request
Description
Note: Unlike \WpOrg\Requests\Session::post() and \WpOrg\Requests\Session::put(), $headers
is required, as the specification recommends that should send an ETag
Source
File: wp-includes/Requests/src/Session.php
public function patch($url, $headers, $data = [], $options = []) {
return $this->request($url, $headers, $data, Requests::PATCH, $options);
}