'Send a message to a channel.
Adds reply_channel name and channel_session to the message.'

def send(self, to, content={}, text=None, path='/'):

    if ((to != 'websocket.connect') and ('?' in path)):
        path = path.split('?')[0]
    self.channel_layer.send(to, self._get_content(content, text, path))
    self._session_cookie = False
