We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f68248e commit 3ac213aCopy full SHA for 3ac213a
README.md
@@ -31,8 +31,10 @@ require_once('vendor/autoload.php');
31
32
use Async\Http\AsyncHttpClient;
33
34
+$url = 'https://jsonplaceholder.typicode.com/posts';
35
+
36
$client = new AsyncHttpClient();
-foreach ($client->get('https://jsonplaceholder.typicode.com/posts/1') as $response) {
37
+foreach ($client->get($url) as $response) {
38
echo $response->getBody();
39
}
40
```
0 commit comments