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 3ac74f0 + 9d7f109 commit 086f514Copy full SHA for 086f514
http_client.rst
@@ -1278,7 +1278,7 @@ Then you're ready to go::
1278
1279
$httpClient = new HttplugClient();
1280
$request = $httpClient->createRequest('GET', 'https://my.api.com/');
1281
- $promise = $httpClient->sendRequest($request)
+ $promise = $httpClient->sendAsyncRequest($request)
1282
->then(
1283
function (ResponseInterface $response) {
1284
echo 'Got status '.$response->getStatusCode();
0 commit comments