Closed boulderwebdev closed 5 years ago
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) { //... }
Needs to be tackled on spec level first.
Existing discussion in: https://github.com/solid/solid-spec/issues/123
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