"Content-Type"
header to "text/event-stream"
. Now you can start sending event streams. The response messages starts with "data: "
and ends with "\n\n"
."Content-Type"
header to "text/event-stream"
"data: "
)Flush
the output data back to the web page