Skip to content

update readme #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ $ composer require php-http/mock-client

## Usage

Use this client in a testing framework.
This client does not actually send requests to any server.

Instead it stores the request and returns a pre-set response or throws an exception. This client is useful for unit
testing code that depends on a HTTPlug client to send requests and receive responses.


## Documentation

Please see the [official documentation](http://docs.php-http.org).
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).


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

## Credits

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


## License
Expand Down