function ClientTrait::patchAsync
Create and send an asynchronous HTTP PATCH request.
Use an absolute path to override the base path of the client, or a relative path to append to the base path of the client. The URL can contain the query string as well. Use an array to provide a URL template and additional variables to use in the URL template expansion.
Parameters
string|UriInterface $uri URI object or string.:
array $options Request options to apply.:
File
-
vendor/
guzzlehttp/ guzzle/ src/ ClientTrait.php, line 221
Class
- ClientTrait
- Client interface for sending HTTP requests.
Namespace
GuzzleHttpCode
public function patchAsync($uri, array $options = []) : PromiseInterface {
return $this->requestAsync('PATCH', $uri, $options);
}