def ws_publish(self, wsrequest):
        channel = wsrequest.required_param('channel')
        event = wsrequest.required_param('event')
        channels = wsrequest.ws.channels
        data = wsrequest.params.get('data')
        user = wsrequest.cache.user_info
        return channels.publish(channel, event, data, user=user)
Publish an event on a channel
dataset/ETHPy150Open quantmind/lux/lux/extensions/sockjs/channels.py/Channels.ws_publish