File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,25 +23,27 @@ interface HttpAdapter
23
23
* Sends a PSR request
24
24
*
25
25
* @param RequestInterface $request
26
+ * @param array $options
26
27
*
27
28
* @return ResponseInterface
28
29
*
29
30
* @throws \InvalidArgumentException
30
31
* @throws Exception\HttpAdapterException
31
32
*/
32
- public function sendRequest (RequestInterface $ request );
33
+ public function sendRequest (RequestInterface $ request, array $ options = [] );
33
34
34
35
/**
35
36
* Sends PSR requests
36
37
*
37
38
* @param RequestInterface[] $requests
39
+ * @param array $options
38
40
*
39
41
* @return ResponseInterface[]
40
42
*
41
43
* @throws \InvalidArgumentException
42
44
* @throws Exception\MultiHttpAdapterException
43
45
*/
44
- public function sendRequests (array $ requests );
46
+ public function sendRequests (array $ requests, array $ options = [] );
45
47
46
48
/**
47
49
* Returns the name
You can’t perform that action at this time.
0 commit comments