Skip to content

Commit 5fbbdf2

Browse files
committed
Remove reference to old async repository
1 parent 120aaeb commit 5fbbdf2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/httplug.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ Httplug is an abstraction for HTTP clients. There are two main use cases:
88
In both cases, the `Http\Client\HttpClient` provides a `sendRequest` method to send a PSR-7 `RequestInterface` and returns a PSR-7 `ResponseInterface`
99
or throws an exception that implements `Http\Client\Exception`.
1010

11-
There is also the `Http\Client\HttpAsyncClient`, available in [php-http/httplug-async](https://packagist.org/packages/php-http/httplug-async), which provides the `sendAsyncRequest` method to send a request asynchronously and returns a `Http\Client\Promise`.
11+
There is also the `Http\Client\HttpAsyncClient` which provides the `sendAsyncRequest` method to send a request asynchronously and returns a `Http\Client\Promise`.
1212
It can be used later to retrieve a PSR-7 `ResponseInterface` or an exception that implements `Http\Client\Exception`.
1313

1414

1515
<p class="text-warning">
16-
Contract for the HttpAsyncClient is experimental until [PSR about Promise is released](https://groups.google.com/forum/?fromgroups#!topic/php-fig/wzQWpLvNSjs).
17-
Once it is out, we will use this interface in the main client and deprecate the separated repository.
16+
Contract for the `Http\Client\Promise` is temporary until [PSR is released](https://groups.google.com/forum/?fromgroups#!topic/php-fig/wzQWpLvNSjs).
17+
Once it is out, we will use this PSR in the main client and deprecate the old contract.
1818
</p>
1919

2020
See the [tutorial](tutorial.md) for a concrete example.
@@ -27,7 +27,7 @@ In the latter case, they will depend on the required client implementation, so y
2727
There are two kind of implementation:
2828

2929
- [php-http/client-implementation](https://packagist.org/providers/php-http/client-implementation), the synchronous implementation that waits for the response / error before returning from the `sendRequest` method.
30-
- [php-http/client-async-implementation](https://packagist.org/providers/php-http/async-client-implementation), the asynchronous implementation that immediately returns a `Http\Client\Promise`, allowing to send several requests in parallel and handling responses later.
30+
- [php-http/async-client-implementation](https://packagist.org/providers/php-http/async-client-implementation), the asynchronous implementation that immediately returns a `Http\Client\Promise`, allowing to send several requests in parallel and handling responses later.
3131

3232
Check links above for the full list of implementations.
3333

0 commit comments

Comments
 (0)