You are building a multiplayer online game that will be deployed to an application server named Server1.
Clients will have a low-latency, persistent connection to Server1.
You need to identify a solution for the game. The solution must meet the following requirements:
Allows clients to accept low-latency push events from Server1
Allows clients to receive onmessage events from Server1
What should you use to develop the solution?
A.
Ajax
B.
HTTP server push
C.
WebSockets
D.
REST
Explanation:
https://www.html5rocks.com/en/tutorials/websockets/basics/