Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Latest commit

 

History

History
26 lines (20 loc) · 560 Bytes

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