work with new server-sent events endpoint

[#80512764]