src/Request/Http/HttpRequest.php
public function delete()
    {
        $url = $this->url;
        if (!empty($this->replaceParams)) {
            $url = self::buildUri($url, $this->replaceParams);
        }
        $this->adapter->setResponseTimeout($this->getResponseTimeout());
        $this->adapter->setConnectTimeout($this->getConnectTimeout());

        return $this->adapter->delete(
            $url,
            array(
                self::HEADERS => $this->headers,
            )
        );
    }
public function delete()
    {
        $url = $this->url;
        if (!empty($this->replaceParams)) {
            $url = self::buildUri($url, $this->replaceParams);
        }
        $this->adapter->setResponseTimeout($this->getResponseTimeout());
        $this->adapter->setConnectTimeout($this->getConnectTimeout());

        return $this->adapter->delete(
            $url,
            array(
                self::HEADERS => $this->headers,
            )
        );
    }
public function delete ( ) { $ url = $ this -> url ; if ( ! empty ( $ this -> replaceParams ) ) { $ url = self :: buildUri ( $ url , $ this -> replaceParams ) ; } $ this -> adapter -> setResponseTimeout ( $ this -> getResponseTimeout ( ) ) ; $ this -> adapter -> setConnectTimeout ( $ this -> getConnectTimeout ( ) ) ; return $ this -> adapter -> delete ( $ url , array ( self :: HEADERS => $ this -> headers , ) ) ; }
Makes a DELETE request with the specified content to the configured endpoint

@return HttpResponse the response as returned by the endpoint
Makes a DELETE request with the specified content to the configured endpoint