Socket.IO Adapter implementation by Textfile (for practice)
var io = require('socket.io')(http);
var txt = require("socket.io-txt");
io.adapter( txt({ name: "session.txt" }) );
The following options are arrowed:
name
:the name of text file which you use.
npm install socket.io-txt
MIT