mommde
08/14/2023, 9:35 PMeventSource = EventSource("/api/sse/$authenticationToken")
eventSource!!.onmessage = { event ->
console.log("here")
event.handleMessageEvent(userGS) // not of interest here
}
when looking into the Network Log, i can see that the browser does receive the data and interprets it right. (I haven't used the 'id' field)
But the console.log function does not print anything (onmessage isn't beeing triggerd).
btw: the EventSource#onopen works perfectly fine
I don't really have information i could provide as I don't know what could be helpful.
~ Moritzmommde
08/16/2023, 8:47 PMevent
field in SSE to "message"