Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 330 Bytes

request_response_info.md

File metadata and controls

14 lines (11 loc) · 330 Bytes

Request / Response information

Back to the navigation

Get response headers

Get the response header for the latest request

$headers = $githubClient->getLastResponse()->getHeaders();
//Example headers
$headers['X-RateLimit-Remaining'];
$headers['X-OAuth-Scopes'];
$headers['X-Accepted-OAuth-Scopes'];