/** * Increment the fragment send counter */ protected function send_fragment($final, $payload, $opcode, $masked) { $this->fragment_count['send']++; return parent::send_fragment($final, $payload, $opcode, $masked); }