public function Client::delete

Create a DELETE request for the client

Parameters

string|array $uri Resource URI:

array|Collection $headers HTTP headers:

string|resource|EntityBodyInterface $body Body to send in the request:

Return value

EntityEnclosingRequestInterface

Overrides ClientInterface::delete

See also

Guzzle\Http\ClientInterface::createRequest()

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Client.php, line 310

Class

Client
HTTP client

Namespace

Guzzle\Http

Code

public function delete($uri = null, $headers = null, $body = null) {
  return $this
    ->createRequest('DELETE', $uri, $headers, $body);
}