文件名称:html5 websocket
文件大小:6.75MB
文件格式:PDF
更新时间:2016-09-26 02:04:20
websocket html5
WebSocket reduces latency because once the WebSocket connection is established, the server can send messages as they become available. For example, unlike polling, WebSocket makes a single request. The server does not need to wait for a request from the client. Similarly, the client can send messages to the server at any time. This single request greatly reduces latency over polling, which sends a request at intervals, regardless of whether messages are available.