You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/php/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,13 @@ use starfederation\datastar\enums\EventType;
30
30
use starfederation\datastar\enums\FragmentMergeMode;
31
31
use starfederation\datastar\ServerSentEventGenerator;
32
32
33
-
// If your framework has its own way of sending response headers, you must manually send the headers returned by `ServerSentEventGenerator::headers()` before creating a new instance of `ServerSentEventGenerator`.
34
-
35
33
// Creates a new `ServerSentEventGenerator` instance.
36
34
$sse = new ServerSentEventGenerator();
37
35
36
+
// Sends the response headers.
37
+
// If your framework has its own way of sending response headers, manually send the headers returned by `ServerSentEventGenerator::headers()` instead.
0 commit comments