Skip to content

Commit b782dbc

Browse files
committed
update readme
1 parent 379678d commit b782dbc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ $ composer require php-http/mock-client
2121

2222
## Usage
2323

24-
Use this client in a testing framework.
24+
This client does not actually send requests to any server.
25+
26+
Instead it stores the request and returns a pre-set response or throws an exception. This client is useful for unit
27+
testing a client.
2528

2629

2730
## Documentation
2831

29-
Please see the [official documentation](http://docs.php-http.org).
32+
Please see the [mock client](http://docs.php-http.org/en/latest/clients/mock-client.html) section in the [official documentation](http://docs.php-http.org).
3033

3134

3235
## Testing
@@ -48,7 +51,7 @@ If you discover any security related issues, please contact us at [security@php-
4851

4952
## Credits
5053

51-
Thanks to [David de Boer](https://github.com/ddeboer) for implementing this client.
54+
Thanks to [David de Boer](https://github.com/ddeboer) for implementing the mock client.
5255

5356

5457
## License

0 commit comments

Comments
 (0)