stream($streamer, Response::HTTP_OK, ['Content-type' => 'text/plain']); } public function fileStream(Application $app) { return $app->sendFile('/etc/passwd'); } }