4 ms·
Nice work! This addresses many of the issues I've had with SSE. Another problem we've never worked out the solution to, is how to send a termination - signalli
by martypitt 3y ago
Nice work! This addresses many of the issues I've had with SSE.
Another problem we've never worked out the solution to, is how to send a termination - signalling "there are no more events coming". We always end up having to roll our own, though it felt like something that should've been handled at the protocol layer.
- skinner927 3y agoJust read the spec Clients will reconnect if the connection is closed; a client can be told to stop reconnecting using the HTTP 204 No Content response code.