Skip to content

Commit af0befb

Browse files
committed
Add a warning box, fix typo in library name
1 parent 3069d34 commit af0befb

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/discovery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ composer require "php-http/discovery"
1919

2020
## HTTP Client Discovery
2121

22-
This type of discovery finds a HTTPClient implementation.
22+
This type of discovery finds a HTTP Client implementation.
2323

2424
``` php
2525
use Http\Client\HttpClient;
@@ -44,7 +44,7 @@ class MyClass
4444

4545
## HTTP Async Client Discovery
4646

47-
This type of discovery finds a HttpAsyncClient implementation.
47+
This type of discovery finds a HTTP Async Client implementation.
4848

4949
``` php
5050
use Http\Client\HttpAsyncClient;

docs/httplug.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ or throws an exception that implements `Http\Client\Exception`.
1111
There is also the 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`.
1212
It can be used later to retrieve a PSR-7 `ResponseInterface` or an exception that implements `Http\Client\Exception`.
1313

14-
Contract for the HttpAsyncClient is still experimental and will be merged into Httplug repository once we considered it stable.
14+
15+
<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.
18+
</p>
1519

1620
See the [tutorial](tutorial.md) for a concrete example.
1721

0 commit comments

Comments
 (0)