Jun 11, 2021
Yes, it is the same endpoint. The server first sends the text/event-stream header to the client. With this, the client knows that /sse is an event stream and will keep listening for more events. You don't need a keep-alive, you just don't finish the response untill you are done. (Http responses can be partially send by 'flushing' the buffer to the client)