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.
1 parent 8548427 commit 4155cc2Copy full SHA for 4155cc2
http_client.rst
@@ -1291,7 +1291,7 @@ Then you're ready to go::
1291
1292
$httpClient = new HttplugClient();
1293
$request = $httpClient->createRequest('GET', 'https://my.api.com/');
1294
- $promise = $httpClient->sendRequest($request)
+ $promise = $httpClient->sendAsyncRequest($request)
1295
->then(
1296
function (ResponseInterface $response) {
1297
echo 'Got status '.$response->getStatusCode();
0 commit comments