This is SSE Specification based response, refer to this documentation for details on the specification https://en.wikipedia.org/wiki/Server-sent_events. You can be certain that you’ll get the “id”, “event” and “data” for every message that we provide separated by “\n”. Also you’ll get an extra empty line between messages.