Skip to content
This repository was archived by the owner on Jan 16, 2018. It is now read-only.

Commit a3e6280

Browse files
committed
fixing test and cleanup readme
1 parent 3c8cb1b commit a3e6280

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/php-http/adapter?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
1111

12-
**HTTP Client interfaces.**
12+
**Utilities for using httplug clients.**
1313

1414

1515
## Install
1616

17-
Via Composer
17+
Via [Composer](https://getcomposer.org/)
1818

1919
``` bash
2020
$ composer require php-http/utils
@@ -23,6 +23,9 @@ $ composer require php-http/utils
2323

2424
## Usage
2525

26+
The utilities provide the `HttpMethodsClient` which you can instantiate with a message factory and a HttpClient.
27+
The client provides convenience methods for HTTP requests without the need of acquiring a PSR-7 RequestInterface.
28+
2629

2730
## Documentation
2831

spec/HttpMethodsClientSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class HttpMethodsClientStub extends HttpMethodsClient
8989
/**
9090
* {@inheritdoc}
9191
*/
92-
protected function send($method, $uri, array $headers = [], $body = null)
92+
public function send($method, $uri, array $headers = [], $body = null)
9393
{
9494
if (in_array($method, ['GET', 'HEAD', 'TRACE'])) {
9595
return $uri === self::$requestData['uri'] &&

0 commit comments

Comments
 (0)