File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class SseService extends Component
3535 * Whether the session should be closed when the event stream begins.
3636 * This is useful to allow other requests to be processed while the event stream is being sent.
3737 */
38- private bool $ shouldCloseSession = false ;
38+ private bool $ shouldCloseSession = true ;
3939
4040 /**
4141 * Server sent events to send.
@@ -275,7 +275,7 @@ public function setSseMethodInProcess(?string $method): static
275275 /**
276276 * Determines whether the session should be closed when the event stream begins.
277277 */
278- public function shouldCloseSession (bool $ value = true ): static
278+ public function shouldCloseSession (bool $ value ): static
279279 {
280280 $ this ->shouldCloseSession = $ value ;
281281
You can’t perform that action at this time.
0 commit comments