Skip to content

Commit 6b8e31c

Browse files
committed
Update doc
1 parent 49504ea commit 6b8e31c

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ Via Composer
1818
$ composer require php-http/react-adapter
1919
```
2020

21+
## Features
22+
23+
This lib adapt ReactPHP behaviour to use the [PSR7 interfaces](https://github.com/php-fig/http-message).
24+
Also `sync` and `async` requests are possible without more code than a function call.
25+
26+
For a deeper `async` comprehension, you must check how ReactPHP engine work.
27+
2128
## Usage
2229

2330
The `ReactHttpAdapter` class need a [message factory](https://github.com/php-http/message-factory) in order to work:
@@ -46,11 +53,18 @@ If you don't want to use the `Http\Adapter\ReactFactory` to build instances you
4653

4754
## Testing
4855

56+
First launch the http server:
57+
58+
```bash
59+
$ ./vendor/bin/http_test_server > /dev/null 2>&1 &
60+
```
61+
62+
Then the test suite:
63+
4964
``` bash
5065
$ composer test
5166
```
5267

53-
5468
## Contributing
5569

5670
Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

0 commit comments

Comments
 (0)