EventSource support
boulderwebdev opened this issue · 2 comments
boulderwebdev commented
There should be support for the EventSource API using solid's fetch. This could be accomplished by implementing a polyfill within the solid-auth-client similar to this library. I imagine this API would look something like
const events = solid.EventSource("myapi.example.com/sse/", {withCredentials: true})
events.onmessage = function(e) {
//...
}
RubenVerborgh commented
Needs to be tackled on spec level first.
elf-pavlik commented
Existing discussion in: https://github.com/solid/solid-spec/issues/123