This is SSE Specification based response, refer to this documentation for details on the specification . 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.