This is a custom UnityWebRequest Download Handler to support SSE's (Server-Sent Events) in Unity!
Simply inhert SseDownloadHandlerBase
and supply your own logic (Deserialise incoming lines, expose events, etc).
Then set the download handler to be an instance of your class.
webRequest.downloadHandler = new LogSseExampleDownloadHandler();