function makeRequest(string $method, string $endpoint, array $options) {
        $request = new \CharlotteDunois\Yasmin\HTTP\APIRequest($this, $method, $endpoint, $options);
        return $this->add($request);
    }
function makeRequest(string $method, string $endpoint, array $options) {
        $request = new \CharlotteDunois\Yasmin\HTTP\APIRequest($this, $method, $endpoint, $options);
        return $this->add($request);
    }
function makeRequest ( string $ method , string $ endpoint , array $ options ) { $ request = new \ CharlotteDunois \ Yasmin \ HTTP \ APIRequest ( $ this , $ method , $ endpoint , $ options ) ; return $ this -> add ( $ request ) ; }
Makes an API request.
@param string  $method
@param string  $endpoint
@param array   $options
@return \React\Promise\ExtendedPromiseInterface
Makes an API request .