Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Ndrstmr\Icap\Transport; |
6 | |
7 | use Ndrstmr\Icap\Config; |
8 | |
9 | /** |
10 | * Contract for ICAP transport implementations. |
11 | */ |
12 | interface TransportInterface |
13 | { |
14 | /** |
15 | * @param Config $config |
16 | * @param string $rawRequest |
17 | * |
18 | * @return \Amp\Future<string> |
19 | */ |
20 | public function request(Config $config, string $rawRequest): \Amp\Future; |
21 | } |