This commit is contained in:
manzerbredes 2016-03-28 12:17:43 +02:00
commit 53f65de9d4
88 changed files with 3596 additions and 694 deletions

View file

@ -24,7 +24,7 @@ $res = $client->request('GET', 'https://api.github.com/user', [
]);
echo $res->getStatusCode();
// 200
echo $res->getHeader('content-type');
echo $res->getHeaderLine('content-type');
// 'application/json; charset=utf8'
echo $res->getBody();
// {"type":"User"...'