Mercurial Hosting > luan
comparison website/src/examples/sse_push.html.luan @ 1931:28cd9b3abdb3
add lang
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 02 May 2025 10:24:38 -0600 |
parents | 3e9f26404433 |
children |
comparison
equal
deleted
inserted
replaced
1930:2b5eccebddd9 | 1931:28cd9b3abdb3 |
---|---|
10 Http.push(url,message) | 10 Http.push(url,message) |
11 end | 11 end |
12 Io.stdout = Http.response.text_writer() | 12 Io.stdout = Http.response.text_writer() |
13 %> | 13 %> |
14 <!doctype html> | 14 <!doctype html> |
15 <html> | 15 <html lang="en"> |
16 <body> | 16 <body> |
17 <h1>push server-sent events</h1> | 17 <h1>push server-sent events</h1> |
18 <form method=post> | 18 <form method=post> |
19 <p><textarea name=message></textarea></p> | 19 <p><textarea name=message></textarea></p> |
20 <p><input type=submit></p> | 20 <p><input type=submit></p> |