abstract protected function Github_HttpClient::doRequest in Bibliography Module 7.2
Send a request to the server, receive a response
Parameters
string $url Request url:
array $parameters Parameters:
string $httpMethod HTTP method to use:
array $options Request options:
Return value
string HTTP response
1 call to Github_HttpClient::doRequest()
- Github_HttpClient::request in modules/
CiteProc/ Github/ HttpClient.php - Send a request to the server, receive a response, decode the response and returns an associative array
1 method overrides Github_HttpClient::doRequest()
- Github_HttpClient_Curl::doRequest in modules/
CiteProc/ Github/ HttpClient/ Curl.php - Send a request to the server, receive a response
File
- modules/
CiteProc/ Github/ HttpClient.php, line 48
Class
- Github_HttpClient
- Performs requests on GitHub API. API documentation should be self-explanatory.
Code
protected abstract function doRequest($url, array $parameters = array(), $httpMethod = 'GET', array $options);