Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 560 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 560 Bytes

ws32

ESP32 Lua NodeMCU WebSocket Client Library

Demo

WebSocket Client, Programming ESP32 in Lua

Usage

  require('ws32_client')
  .on('connection', function(ws)
      print('WS connected')
      ws.send('Hello!')
  end)
  .on('receive', function(data, ws)
      print('WS received:', data)
  end)
  .connect('ws://demos.kaazing.com:80/echo')

Dependencies

The library depends on the following NodeMCU modules:

  • bit
  • net