remove https from async request
This commit is contained in:
@@ -20,7 +20,7 @@ echo $response->getHeaderLine('content-type') . PHP_EOL;
|
|||||||
echo $response->getBody() . PHP_EOL;
|
echo $response->getBody() . PHP_EOL;
|
||||||
|
|
||||||
// asynchronous
|
// asynchronous
|
||||||
$request = new Request('GET', 'https://httpbin.org');
|
$request = new Request('GET', 'http://httpbin.org');
|
||||||
|
|
||||||
$promise = $client
|
$promise = $client
|
||||||
->sendAsync($request)
|
->sendAsync($request)
|
||||||
|
|||||||
Reference in New Issue
Block a user