Checking support...
Feature Not SupportedThis browser does not support the EventSource (SSE) Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after processing...
Native JavaScript Code Example (Zero Libraries)
const evtSource = new EventSource('/events');
evtSource.onmessage = (e) => console.log(e.data);About the EventSource (SSE) Web API
EventSource interface is a web content's interface to server-sent events.
Specification:W3C & WHATWG Web API Standard
Sponsored Content