onNextFrame

This commit is contained in:
Face
2025-09-11 17:30:28 +03:00
parent a51223250f
commit eddf0f370c
6 changed files with 69 additions and 17 deletions

View File

@@ -114,17 +114,6 @@
addLog('WebSocket API demo ready')
end)
messageInput:on('keypress', function(e)
if e.key == 'Enter' and socket and connected then
local message = messageInput.text
if message and message ~= '' then
socket:send(message)
addLog('📤 Sent: ' .. message)
messageInput.text = ''
end
end
end)
updateStatus('Disconnected', 'disconnected')
addLog('WebSocket API demo ready')
addLog('Enter a WebSocket URL and click Connect to start!')