File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 3
3
namespace Http \Client ;
4
4
5
5
use Psr \Http \Client \ClientInterface ;
6
- use Psr \Http \Message \RequestInterface ;
7
- use Psr \Http \Message \ResponseInterface ;
8
6
9
7
/**
10
- * Sends a PSR-7 Request and returns a PSR-7 response.
8
+ * {@inheritdoc}
11
9
*
12
- * @author GeLo <[email protected] >
13
- * @author Márk Sági-Kazár <[email protected] >
14
- * @author David Buchmann <[email protected] >
10
+ * Provide the Httplug HttpClient interface for BC.
11
+ * You should typehint Psr\Http\Client\ClientInterface in new code
15
12
*/
16
13
interface HttpClient extends ClientInterface
17
14
{
18
- /**
19
- * Sends a PSR-7 request.
20
- *
21
- * @throws \Http\Client\Exception If an error happens during processing the request.
22
- * @throws \Exception If processing the request is impossible (eg. bad configuration).
23
- */
24
- public function sendRequest (RequestInterface $ request ): ResponseInterface ;
25
15
}
You can’t perform that action at this time.
0 commit comments