Live blogging from SymfonyLive London 2019

This commit is contained in:
Oliver Davies 2019-09-13 11:40:42 +01:00
parent 1c1cd901a5
commit 940552fa4d

View file

@ -240,5 +240,7 @@ foreach ($client->stream($responses) as $response => $chunk) {
}
}
```
* 379 request completed in 0.4s!
* `Stream` has second argument, max number of seconds to wait before yielding a timeout chunk
* `ResponseInterface::getInfo()` - get response headers, redirect count and URL, start time, HTTP method and code, user data and URL