SSE Events delimiter
kopili opened this issue · comments
Borislav Kirilov commented
Hello :)
I see that for EventInput the delimiters between the events are strictly specified ("\n\n" or "\r\n\r\n") - is this according to some standard? Can you help me find it? The only one I found is here:
https://html.spec.whatwg.org/multipage/server-sent-events.html
but it seems very immature to me and says nothing about delimiters. :( Thanks in advance!
jansupol commented
It actually says about delimiters: https://html.spec.whatwg.org/multipage/server-sent-events.html#parsing-an-event-stream. Look at the grammar. Comment, Field, and event each end with new line.
I am closing this as this is no issue.