Open wuhanqing opened 8 years ago
The old io.set() and io.get() methods are deprecated and only supported for backwards compatibility
Now Socket.IO uses other nodejs libs for this. Prior 1.0 version nodejs socketio project was more standalone. Now it relies on some libs exposes by nodejs. After 1.0 version this feature was deprecated because other nodejs libs offers such function. As for netty-socketio this feature will not be depreacted, because it's a fully standalone project.
@mrniko If client use 'socket.property=value' instead old io.set(), has any way to get the property by netty-socketio?
The doc from socket.io says as below: The old io.set() and io.get() methods are deprecated and only supported for backwards compatibility. Here is a translation of an old authorization example into middleware-style.