def send_to_websocket(self, data):
        try:
            data = json.dumps(data)
            self.websocket.send(data)
        except:
            self.rtm_connect(reconnect=True)
Send (data) directly to the websocket.
dataset/ETHPy150Open slackhq/python-slackclient/slackclient/_server.py/Server.send_to_websocket