Spaces:
Running
Running
Download socket/io.js from 4send/messenger: direct link, hf CLI and curl.
- Browser
- Download file 159 Bytes
-
https://huggingface.co/spaces/4send/messenger/resolve/main/socket/io.js
- Command line
-
hf download hf://spaces/4send/messenger/socket/io.js
-
curl -L -o io.js https://huggingface.co/spaces/4send/messenger/resolve/main/socket/io.js
159 Bytes
| let _io = null; | |
| const onlineUsers = new Set(); | |
| const setIO = (io) => { _io = io; }; | |
| const getIO = () => _io; | |
| module.exports = { setIO, getIO, onlineUsers }; | |