File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ In both cases, the `Http\Client\HttpClient` provides a `sendRequest` method to s
99and returns a PSR-7 ` ResponseInterface ` or throws an exception that implements ` Http\Client\Exception ` .
1010
1111There is also the ` Http\Client\HttpAsyncClient ` which provides the ` sendAsyncRequest ` method to send
12- a request asynchronously and returns a ` Http\Client \Promise ` .
12+ a request asynchronously and returns a ` Http\Promise \Promise ` .
1313
1414The promise allows to specify handlers for a PSR-7 ` ResponseInterface `
1515or an exception that implements ` Http\Client\Exception ` .
1616
1717
1818<p class =" text-warning " >
19- Contract for the `Http\Client \Promise` is temporary until
19+ Contract for the `Http\Promise \Promise` is temporary until
2020 [PSR is released](https://groups.google.com/forum/?fromgroups#!topic/php-fig/wzQWpLvNSjs).
2121 Once it is out, we will use this PSR in the main client and deprecate the old contract.
2222</p >
@@ -37,7 +37,7 @@ There are two kind of implementations:
3737 - [ php-http/client-implementation] ( https://packagist.org/providers/php-http/client-implementation ) :
3838 the synchronous implementation that waits for the response / error before returning from the ` sendRequest ` method.
3939 - [ php-http/async-client-implementation] ( https://packagist.org/providers/php-http/async-client-implementation ) :
40- the asynchronous implementation that immediately returns a ` Http\Client \Promise ` ,
40+ the asynchronous implementation that immediately returns a ` Http\Promise \Promise ` ,
4141 allowing to send several requests in parallel and handling responses later.
4242
4343Check links above for the full list of implementations.
You can’t perform that action at this time.
0 commit comments