0
我很好奇這個方法。例如。我可以像一個請求和定期響應一樣使用REST嗎?
客戶:[POST] 「給我你的CPU使用率」
服務器:OK,我會定期給你的信息。
{ "cpu_usage" : "20" }
{ "cpu_usage" : "21" }
.
.
.
{ "cpu_usage" : "22" }
{ "cpu_usage" : "20" }
這可能嗎?
請參考https://en.wikipedia.org/w/index.php?title=Push_technology§ion=2。 –