Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
20 | interface PsrHttpAdapterInterface |
||
21 | { |
||
22 | const VERSION = '0.8.0-DEV'; |
||
23 | const VERSION_ID = '00800'; |
||
24 | const MAJOR_VERSION = '0'; |
||
25 | const MINOR_VERSION = '8'; |
||
26 | const PATCH_VERSION = '0'; |
||
27 | const EXTRA_VERSION = 'DEV'; |
||
28 | |||
29 | /** |
||
30 | * @return ConfigurationInterface |
||
31 | */ |
||
32 | public function getConfiguration(); |
||
33 | |||
34 | /** |
||
35 | * @param ConfigurationInterface $configuration |
||
36 | */ |
||
37 | public function setConfiguration(ConfigurationInterface $configuration); |
||
38 | |||
39 | /** |
||
40 | * @param RequestInterface $request |
||
41 | * |
||
42 | * @throws HttpAdapterException |
||
43 | * |
||
44 | * @return ResponseInterface |
||
45 | */ |
||
46 | public function sendRequest(RequestInterface $request); |
||
47 | |||
48 | /** |
||
49 | * @param array $requests |
||
50 | * |
||
51 | * @throws MultiHttpAdapterException |
||
52 | * |
||
53 | * @return array $responses |
||
54 | */ |
||
55 | public function sendRequests(array $requests); |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getName(); |
||
61 | } |
||
62 |