public function sendStream(SendResponseEvent $event)
    {
        if ($event->contentSent()) {
            return $this;
        }
        $response = $event->getResponse();
        $stream   = $response->getStream();
        
        while (!feof($stream)) {
            echo fread($stream, 8192);
        }
        
        fclose($stream);
        
        $event->setContentSent();
    }