简体   繁体   中英

Can we send multiple responses in intervals to a single request, Using Django as server?

I am just working on an app, which sends a request to the server asking it to report the details of a device every 10 seconds for the next 60 seconds. I am using Django framework as the backend server. Can we send multiple responses to a single request from the app? If yes, Can you point me in the right direction.

不是我的朋友不可能..因为它与Django或其他Web框架没有关系..那就是Http规则,您不能更改它们。.每个HTTP请求只有一个HTTP响应..

There is a relatively new concept called channels . which is suitable for the job.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM