src/Http/Client.php
public function custom(string $method, string $uri, string $body='', array $headers=[])
  {
    $this->sendRequest($this->createRequest($method,$uri), $headers);

    return !is_null($this->getResponse());
  }
public function custom(string $method, string $uri, string $body='', array $headers=[])
  {
    $this->sendRequest($this->createRequest($method,$uri), $headers);

    return !is_null($this->getResponse());
  }
public function custom ( string $ method , string $ uri , string $ body = '' , array $ headers = [ ] ) { $ this -> sendRequest ( $ this -> createRequest ( $ method , $ uri ) , $ headers ) ; return ! is_null ( $ this -> getResponse ( ) ) ; }
Send a custom HTTP request

@param  string $uri                The uri to call in the service
@param  array $headers             The http headers
@return bool                       True for success
Send a custom HTTP request