Commence sérieusement à bosser sur mon pico framework HTML en LUA

This commit is contained in:
Christian Zufferey
2019-01-26 16:42:17 +01:00
parent 691c7c3804
commit 70b39e25b3
23 changed files with 805 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
srv=net.createServer(net.TCP)
srv:listen(80,function(conn)
conn:on("receive",function(conn,payload)
print(payload)
conn:send("<h1> ESP8266<BR>Server is working!</h1>")
conn:close()
end)
end)