remove https from async request

This commit is contained in:
2025-12-14 01:43:55 +03:30
parent c2d91ffaea
commit b5b956b1d1

View File

@@ -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)