Mercurial Hosting > luan
comparison website/src/examples/sse_push.html.luan @ 1739:3e9f26404433
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 03 Nov 2022 19:32:03 -0600 |
parents | 9713f7fd50b3 |
children |
comparison
equal
deleted
inserted
replaced
1738:9713f7fd50b3 | 1739:3e9f26404433 |
---|---|
1 local Io = require "luan:Io.luan" | 1 local Io = require "luan:Io.luan" |
2 local Http = require "luan:http/Http.luan" | 2 local Http = require "luan:http/Http.luan" |
3 local Logging = require "luan:logging/Logging.luan" | |
4 local logger = Logging.logger "init" | |
5 | 3 |
6 | 4 |
7 return function() | 5 return function() |
8 local request = Http.request | 6 local request = Http.request |
9 local message = request.parameters.message | 7 local message = request.parameters.message |