I have a redis pub sub message system in node js ,in which I am subscribing to third party socket api by sending a data something like this
var SingletonSocket =