Code in ASP
Example:
ASP
<%
Response.ContentType = "text/event-stream"
Response.Expires = -1
Response.Write("data: The server time is: " & now())
Response.Flush()
%>
What is HTML SSE API | HTML SSE API |
How to add Server-Sent Events - One Way Messaging | HTML SSE API |
What types of browsers will support HTML SSE API | HTML SSE API |
How to Receive Server-Sent Event Notifications | HTML SSE API |
How to Check Server-Sent Events Support | HTML SSE API |
What is Server-Side Code Example | HTML SSE API |
What are The EventSource Object | HTML SSE API |
Type: | Asp |
Category: | Web Tutorial |
Sub Category: | HTML SSE API |
Uploaded by: | Admin |