- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
HTML5 Server-Sent Events working
Conventional web applications generate events that are dispatched to the web server. For example, a simple click on a link requests a new page from the server.
The type of events that are flowing from web browser to the web server may be called client-sent events.
Along with HTML5, WHATWG Web Applications 1.0 introduces events that flow from the web server to the web browsers and they are called Server-Sent Events (SSE). Using SSE you can push DOM events continuously from your web server to the visitor's browser.
The event streaming approach opens a persistent connection to the server, sending data to the client when new information is available, eliminating the need for continuous polling.
Server-sent events standardize how we stream data from the server to the client.
- How Server-Sent Events Works in HTML5?
- Using HTML5 Server-Sent Events in a web application
- How can I handle Server-Sent Events in HTML5?
- Is there a Microsoft equivalent for HTML5 Server-Sent Events?
- What are Long-Polling, Websockets, Server- Sent Events (SSE) and Comet?
- Websockets Apache Server compatibility in HTML5
- Drop target listens to which events in HTML5?
- How to handle HTML5 media events using jQuery?
- canvas.style.display = “block” not working in HTML5
- Working with <polygon> tag in HTML5
- EventSource vs. wrapped WebSocket with HTML5 Server-Side Event
- The:last-child selector not working as expected in HTML5
- How to listen to Keydown-Events in a KineticJS-managed HTML5-Canvas?
- The dragLeave event fires before drop for HTML5 drag and drop events
- HTML5 video not working with jquery bxSlider plugin on iPad