This commit is contained in:
Lizandro Guarnizo
2026-01-27 15:01:32 -05:00
parent 1f224044f7
commit 6e3f375f91
3 changed files with 30 additions and 12 deletions
+8
View File
@@ -0,0 +1,8 @@
<?php
// Test simplísimo de SSE
header('Content-Type: text/event-stream');
header('Cache-Control: no-cache');
echo "event: test\n";
echo "data: {\"message\":\"works\"}\n\n";
flush();