2024-07-11
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
Writing ideas:
The following mainly writes about websocket from several aspects, including the following: what is webSocket, the advantages and disadvantages of webSocket, the working principle of webSocket, webSocket handshake example, how to use webSocket (an example of using webSocket), application scenarios...
WebSocket is a protocol for full-duplex communication over a single TCP connection.
It was standardized by the IETF in 2011 as RFC 6455 and is supported by the WebSocket API in Web IDL.
It is designed to establish a long-term two-way communication channel between the client and the server, overcoming some limitations of traditional HTTP, especially in scenarios where real-time data transmission is required.