| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function __construct($content = '', $status = 101, $headers = array()) |
||
| 14 | { |
||
| 15 | parent::__construct($content, $status, $headers); |
||
| 16 | $this->headers->set('Connection', 'Upgrade'); |
||
| 17 | $this->headers->set('Upgrade', 'websocket'); |
||
| 18 | $this->headers->remove('Content-Length'); |
||
| 19 | $this->headers->remove('Cache-Control'); |
||
| 20 | $this->headers->remove('Date'); |
||
| 21 | } |
||
| 22 | } |
||
| 23 |