Home »

How to utilize a server-sent event in HTML5?

Question ListCategory: HTMLHow to utilize a server-sent event in HTML5?
ethanbrown author asked 2 years ago
1 Answers
jamessmith05 author answered 2 years ago

To use Server-Sent Events during a net application, you’d got to add an <eventsource> part to the
document.
The src attribute of <eventsource>part ought to point to an address that ought to give a persistent
HTTP connection that sends a data stream containing the events.
The address would point to a PHP, PERL or any Python script which might pay attention of sending
event data systematically.

Please login or Register to Submit Answer