WebSockets与HTTP(REST)



BYU IS 542的介绍
(通过https://screencast-o-matic.com记录)

2 comments
  1. It seems to me that it makes sense to use WS if you're using REST and send requests all the time, because you always need to fetch some new data. But if you're just fetching on a rare occasion, then WS would just waste resources.

  2. I think it's better if u can show more underlying technology or how does it work in details, or how to set up websocket protocal and rest protocal, simple examples would be fine.

Comments are closed.