We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17c2fc6 + 086f514 commit eb9e6c8Copy full SHA for eb9e6c8
http_client.rst
@@ -1424,7 +1424,7 @@ Then you're ready to go::
1424
1425
$httpClient = new HttplugClient();
1426
$request = $httpClient->createRequest('GET', 'https://my.api.com/');
1427
- $promise = $httpClient->sendRequest($request)
+ $promise = $httpClient->sendAsyncRequest($request)
1428
->then(
1429
function (ResponseInterface $response) {
1430
echo 'Got status '.$response->getStatusCode();
0 commit comments