ClientInterface
last analyzed

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 14
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
send() 0 1 ?
1
<?php
2
3
namespace Postpay\HttpClients;
4
5
use Postpay\Http\Request;
6
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