File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## 2.0.0 - Unreleased
4+
5+ - The HttpAsyncClient now returns a HttpPromise (instead of a Promise)
6+
7+ ## 1.1.0 - Unreleased
8+
9+ - Added HttpPromise interface to enforce value of rejected and resolved promise
10+ - Added HttpFulfilledPromise and HttpRejectedPromise which respect the HttpAsyncClient interface
311
412## 1.0.0 - 2016-01-26
513
Original file line number Diff line number Diff line change 22
33namespace Http \Client ;
44
5- use Http \Client \ Promise \HttpPromise ;
5+ use Http \Promise \Promise ;
66use Psr \Http \Message \RequestInterface ;
77
88/**
@@ -19,7 +19,7 @@ interface HttpAsyncClient
1919 *
2020 * @param RequestInterface $request
2121 *
22- * @return HttpPromise Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception.
22+ * @return Promise Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception.
2323 *
2424 * @throws \Exception If processing the request is impossible (eg. bad configuration).
2525 */
You can’t perform that action at this time.
0 commit comments