format
format
- added subscribe, subscribed, unsubscribed socket methods
- payload does not make sense for chat plugin
chat example enhanced