{"id":"itoj14/engineio","name":"engineio","scope":"itoj14","platform":"roblox","description":"A functioning implementation of Engine.IO v4 for Roblox Luau, using HttpService.","version":"1.0.0","latest":"1.0.0","versions":["1.0.0"],"license":"GPL-3.0","licenseRating":"unsafe","licenseCaveats":["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."],"licenseVerified":false,"dependencies":{},"integrity":"0542e177afb43f01d5ddfdc369ceb7a0d6b3f4f7afbc1c1593a49c0aa587431a","likes":0,"downloads":0,"install":"forest install itoj14/engineio","url":"https://forest.dev/p/roblox/itoj14/engineio","files":"https://api.forest.dev/ai/package/roblox/itoj14/engineio/files","readme":"# EngineIO Luau\r\n\r\nA functioning implementation of Engine.IO v4 for Roblox Luau, using HttpService.\r\n\r\n## Installation\r\n\r\n1. Add the library to your Wally dependencies.\r\n2. Run `wally install` to install it.\r\n\r\n## Usage\r\n\r\n```lua\r\n-- Require EngineIO from wherever your setup places it.\r\n\r\nlocal connection = EngineIO.new(\r\n    \"https://example.com/socket.io/\",\r\n    function (data: string | buffer, isBinary: boolean)\r\n        -- Runs when recieving data.\r\n    end,\r\n    function (message: string)\r\n        -- Runs on errors.\r\n    end\r\n)\r\n\r\nconnection:Send(\"exampletext\") -- Send text.\r\nconnection:SendBinary(buffer.create(1024)) -- Send binary.\r\n\r\nconnection:OnData(callback) -- Change the data handler.\r\nconnection:OnError(callback) -- Change the error handler.\r\n\r\nconnection:Disconnect() -- Close the connection to the server.\r\n\r\nconnection.endpoint -- string: The currently in-use endpoint.\r\nconnection.version -- number: The currently in-use EngineIO version (locked to 4).\r\nconnection.sid -- string?: The current session ID, nil when not connected.\r\nconnection.connected -- boolean: Whether the client is currently connected.\r\n```\r\n\r\nThis library does not expose code for automatic reconnection, that is for higher-level protocols to handle.\r\n\r\n## License\r\n\r\nCopyright (C) 2026 ItsThatOneJack (ITOJ)\r\n\r\nThis library is free software; you can redistribute it and/or\r\nmodify it under the terms of the GNU Lesser General Public\r\nLicense as published by the Free Software Foundation; either\r\nversion 3 of the License, or (at your option) any later version.\r\n\r\nThis library is distributed in the hope that it will be useful,\r\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\r\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\nLesser General Public License for more details.\r\n\r\nYou should have received a copy of the GNU Lesser General Public\r\nLicense along with this library; if not, see\r\n<https://www.gnu.org/licenses/>.\r\n","readmeTruncated":false}