File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -487,6 +487,20 @@ Sending the response to the client is done by calling the method
487
487
488
488
$response->send();
489
489
490
+ The ``send() `` method takes an optional ``flush `` argument. If set to
491
+ ``false ``, functions like ``fastcgi_finish_request() `` or
492
+ ``litespeed_finish_request() `` are not called. This is useful when debugging
493
+ your application to see which exceptions are thrown in listeners of the
494
+ :class: `Symfony\\ Component\\ HttpKernel\\ Event\\ TerminateEvent `. You can learn
495
+ more about it in
496
+ :ref: `the dedicated section about Kernel events <http-kernel-creating-listener >`.
497
+
498
+ .. versionadded :: 6.4
499
+
500
+ The ``flush `` argument of the
501
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Response::send ` method
502
+ was introduced in Symfony 6.4.
503
+
490
504
Setting Cookies
491
505
~~~~~~~~~~~~~~~
492
506
You can’t perform that action at this time.
0 commit comments