Skip to content

Commit f8eaea4

Browse files
error fixed
1 parent 464b168 commit f8eaea4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ A fully async, non-blocking HTTP client built using `stream_socket_client` and `
1111
- 🔁 Multiple async requests in parallel
1212
- 🔄 Retries and timeout support
1313
- 🧩 PSR-18 / PSR-7 compatible
14-
- ✅ GET, POST, PUT, PATCH, DELETE support
15-
- 📦 Composer-ready
14+
- ✅ GET, POST, PUT, PATCH, DELETE supported
1615

1716
## Install
1817

@@ -25,7 +24,7 @@ composer require async-http/async-http
2524
```php
2625
<?php
2726

28-
require ("vendor/autoloader.php");
27+
require_once('vendor/autoload.php');
2928

3029
use Async\Http\AsyncHttpClient;
3130

@@ -38,6 +37,10 @@ foreach ($client->get('https://jsonplaceholder.typicode.com/posts/1') as $respon
3837
## Parallel Requests
3938

4039
```php
40+
<?php
41+
42+
require_once('vendor/autoload.php');
43+
4144
use Async\Http\AsyncHttpClient;
4245
use Async\Http\MultiAsyncHandler;
4346

0 commit comments

Comments
 (0)