view website/src/examples/sse_pull.html @ 2046:e0896f65c847 acme-tiny tip

fix temp_dir_string initiation
author Violet7
date Sun, 09 Nov 2025 02:38:09 -0800
parents 28cd9b3abdb3
children
line wrap: on
line source

<!doctype html>
<html lang="en">
	<head>
		<style>
			body {
				white-space: pre;
			}
		</style>
		<script>
			let eventSource = new EventSource(location.origin+'/examples/sse_push.html');
			eventSource.onmessage = function(event) {
				document.body.textContent = event.data;
			};
		</script>
	</head>
	<body>pull server-sent events</body>
</html>