| 1 | <?php |
||
| 9 | class HttpDriver implements HttpDriverInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var mixed[] |
||
| 13 | */ |
||
| 14 | protected $options; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var HttpReaderInterface |
||
| 18 | */ |
||
| 19 | protected $reader; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param mixed[] $options |
||
| 23 | */ |
||
| 24 | 69 | public function __construct($options = []) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * |
||
| 32 | */ |
||
| 33 | 30 | public function __destruct() |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @override |
||
| 41 | * @inheritDoc |
||
| 42 | */ |
||
| 43 | 4 | public function readRequest(BufferInterface $buffer, $message) |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @override |
||
| 50 | * @inheritDoc |
||
| 51 | */ |
||
| 52 | 1 | public function readResponse(BufferInterface $buffer, $message) |
|
| 56 | } |
||
| 57 |