🚧 UNDER CONSTRUCTION: To see list of features to be implemented, see To-Do below
A simple-to-use WebSocket client library for Neovim
- 📨 Supports binary and text messages with high-level API
- 🏓 Supports ping/pong messages
- 🎭 Supports masking
local Websocket = require('websocket').Websocket
local sock = Websocket:new({
host = "localhost",
port = "80",
path = "/"
})
sock:send_text("Hello, WebSocket!")
You may also view the plugin/open_websocket.lua
file for a test example of this library
- SSL Support
- LuaSec Build Script
- Events documentation
- One-time connect and close event handlers
- SHA-256 key checking
- HTTP header parsing