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;
|
||||
|
||||
// asynchronous
|
||||
$request = new Request('GET', 'https://httpbin.org');
|
||||
$request = new Request('GET', 'http://httpbin.org');
|
||||
|
||||
$promise = $client
|
||||
->sendAsync($request)
|
||||
|
||||
Reference in New Issue
Block a user