OAuth2\HttpClient::__construct PHP Method

__construct() public method

public __construct ( string $url, string $method, string $parameters = null, array $header = [] )
$url string
$method string
$parameters string
$header array any additional header which should be set
    public function __construct($url, $method, $parameters = null, array $header = array())
    {
        $this->_url = $url;
        $this->_method = $method;
        $this->_parameters = $parameters;
        $this->_requestHeader = $header;
    }