Start typing to search packages!
engineio
By @itoj14
Roblox
Mirrored from WallyEngineIO Luau
A functioning implementation of Engine.IO v4 for Roblox Luau, using HttpService.
Installation
- Add the library to your Wally dependencies.
- Run
wally installto install it.
Usage
-- Require EngineIO from wherever your setup places it.
local connection = EngineIO.new(
"https://example.com/socket.io/",
function (data: string | buffer, isBinary: boolean)
-- Runs when recieving data.
end,
function (message: string)
-- Runs on errors.
end
)
connection:Send("exampletext") -- Send text.
connection:SendBinary(buffer.create(1024)) -- Send binary.
connection:OnData(callback) -- Change the data handler.
connection:OnError(callback) -- Change the error handler.
connection:Disconnect() -- Close the connection to the server.
connection.endpoint -- string: The currently in-use endpoint.
connection.version -- number: The currently in-use EngineIO version (locked to 4).
connection.sid -- string?: The current session ID, nil when not connected.
connection.connected -- boolean: Whether the client is currently connected.
This library does not expose code for automatic reconnection, that is for higher-level protocols to handle.
License
Copyright (C) 2026 ItsThatOneJack (ITOJ)
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, see https://www.gnu.org/licenses/.
Package Details
Install command (Click to copy)
Version
1.0.0
License
GPL-3.0
Legal risk for closed-source games
Strong copyleft: shipping this in your game plausibly requires releasing your game's entire source under GPL-3.0. Not recommended for closed-source projects.
Automated license review — not legal advice.
