django channels

I have always used HTTP requests to implement a request and a response in a confused way. Recently, I tried to implement websocket with the framework of Django, using Django channels, combined with the example given by the official website, to realize the dynamic display of logs to the page. Source address:

But I want to study its principle.

First look at a picture provided by a netizen:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325685859&siteId=291194637