You are here

public function Github_HttpClient::__construct in Bibliography Module 7.2

Instanciate a new http client

Parameters

array $options http client options:

File

modules/CiteProc/Github/HttpClient.php, line 33

Class

Github_HttpClient
Performs requests on GitHub API. API documentation should be self-explanatory.

Code

public function __construct(array $options = array()) {
  $this->options = array_merge($this->options, $options);
}