Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit 41ade94

Browse files
authored
Make sure it is clear what client we using
1 parent fa63c65 commit 41ade94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,11 @@ We use HTTPlug to give you full control of the HTTP client. Version 4 of the Neo
500500
to preserve backward compatibility. Version 5 will give you the option to choose whatever client you want. Read more
501501
about HTTPlug [in their documentation](http://docs.php-http.org/en/latest/httplug/users.html).
502502

503-
To configure your client you may add it to `Configuration`.
503+
To configure your client you may add it to `Configuration`. Below is an example using `php-http/curl-client`.
504504

505505
```php
506+
use Http\Client\Curl\Client;
507+
506508
$options = [
507509
CURLOPT_CONNECTTIMEOUT => 3, // The number of seconds to wait while trying to connect.
508510
CURLOPT_SSL_VERIFYPEER => false // Stop cURL from verifying the peer's certificate

0 commit comments

Comments
 (0)