Answer the question
In order to leave comments, you need to log in
Why does socket.onmessage stop being called 2-3 minutes after new WebSocket()?
For the backend I use django-channels
js:
var socket = new WebSocket("ws://localhost:8000?session_key=...");
socket.onmessage = function() {
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question