| Total Complexity | 1 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 3 | class WebSocketUser |
||
| 4 | { |
||
| 5 | public $socket; |
||
| 6 | public $id; |
||
| 7 | public $headers = []; |
||
| 8 | public $handshake = false; |
||
| 9 | |||
| 10 | public $handlingPartialPacket = false; |
||
| 11 | public $partialBuffer = ''; |
||
| 12 | |||
| 13 | public $sendingContinuous = false; |
||
| 14 | public $partialMessage = ''; |
||
| 15 | |||
| 16 | public $hasSentClose = false; |
||
| 17 | |||
| 18 | public function __construct($id, $socket) |
||
| 35 |