1 | <?php |
||
12 | class PriorityFrame extends \Hyphper\Frame implements PriorityInterface |
||
13 | { |
||
14 | use PriorityTrait; |
||
15 | |||
16 | protected $defined_flags = []; |
||
17 | protected $type = 0x02; |
||
18 | protected $stream_association = self::HAS_STREAM; |
||
19 | |||
20 | /** |
||
21 | * @return string |
||
22 | */ |
||
23 | 2 | public function serializeBody(): string |
|
27 | |||
28 | /** |
||
29 | * Given the body of a frame, parses it into frame data. This populates |
||
30 | * the non-header parts of the frame: that is, it does not populate the |
||
31 | * stream ID or flags. |
||
32 | * |
||
33 | * @param string $data |
||
34 | * |
||
35 | * @return void |
||
36 | */ |
||
37 | 2 | public function parseBody(string $data) |
|
42 | } |
||
43 |