Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | interface ClientInterface |
||
8 | { |
||
9 | /** |
||
10 | * Sends a request to the server and returns the response. |
||
11 | * |
||
12 | * @param Request $request Request to send. |
||
13 | * @param int|null $timeout The timeout for the request. |
||
14 | * |
||
15 | * @return \Postpay\Http\Response Response from the server. |
||
16 | * |
||
17 | * @throws \Postpay\Exceptions\PostpayException |
||
18 | */ |
||
19 | public function send(Request $request, $timeout = null); |
||
20 | } |
||
21 |