Django channels and socket.io-client : <p>I'm trying to use them for the first time and wonder I'm headed to the right direction.</p>

<p>Here are my understandings, </p>

<p>socket.io is a wrapper around websocket, and falls back to sub-optimal solutions when websocket is not available.</p>

<p>Django channels can talk websocket as well.<br>
(I think it converts django as a message queue like system. although this understanding or misunderstanding should affect this question)</p>

<p>So I'm trying to use Django channels on the server and socket.io-client on the client.</p>

<p>socket.io has api which looks like </p>

<p><code>socket.on(type, (payload)=&gt; {})</code></p>

<p>Whereas Django channels has a form of</p>

<p><code>message.reply_channel.send({
   "text": json
})
</code></p>

<p>is the "text" <code>type</code> of <code>socket.on(type)</code>?</p>

<p>Can Django channels and socket.io-client talk to each other?</p>
