Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelar committed Mar 24, 2024
1 parent 3da648c commit 79168e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,12 @@ public function prepareEventStreaming(int $limit = 0, bool $ignoreUserAbort = tr
ignore_user_abort($ignoreUserAbort);
@ini_set('zlib.output_compression', '0');


$response = (new Response())
->withHeader('Content-Type', 'text/event-stream')
->withHeader('Cache-Control', 'no-cache')
->withHeader('X-Accel-Buffering', 'no')
->withStatus(200);

$this->emitter->emit($response);

}
}

0 comments on commit 79168e2

Please sign in to comment.