protected function fireMessageEvent($handler, $connection, $frame)
    {
        $isBinary = $frame->opcode == WEBSOCKET_OPCODE_BINARY;

        $this->fireWebSocketHandler($handler, 'onMessage', $connection, $isBinary, $frame->data);
    }