channel_routing = {'websocket.connect': 'news_providers.consumers.ws_foo',
    'websocket.keepalive': 'news_providers.consumers.ws_foo',
    'websocket.receive': 'news_providers.consumers.ws_message',
    'websocket.disconnect': 'news_providers.consumers.ws_foo'}
How to use Channel instead of Group when using django channels?