Horje

Example of Server-Side Code Example Code in PHP Code in ASP

Code in ASP

demo_sse.asp
Example: ASP
<%
Response.ContentType = "text/event-stream"
Response.Expires = -1
Response.Write("data: The server time is: " & now())
Response.Flush()
%> 





Type:
asp
Category:
Web Tutorial
Sub Category:
HTML SSE API
Uploaded by:
Admin