Skip to content

Major: Server-sent events (SSE) #70

@mkovatsc

Description

@mkovatsc

Server-sent events (SSE) are seriously bizarre; I think this could be
mentioned here.

We need some consensus on the "bizarreness" or at least to understand the expected guidance.

SSE work a bit like HTTP headers with an identifier event: followed by a user-defined string and newline (\n) and then the identifier 'data:' followed by a user-defined string without newline (can be a JSON structure) and terminated with an empty line (\n\n) -- bizarrely not using \r\n like HTTP headers...

I don't think we need to explain this in this document.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions