Last active
April 18, 2017 12:03
-
-
Save nacholibre/58072687059e4e386c8a to your computer and use it in GitHub Desktop.
Use guzzle with the default Stream Handler, without Curl or any other libraries.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$handler = new \GuzzleHttp\Ring\Client\StreamHandler(); | |
$client = new GuzzleHttp\Client(['handler' => $handler]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment