From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/glossary/websockets/index.html | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 files/zh-cn/glossary/websockets/index.html (limited to 'files/zh-cn/glossary/websockets/index.html') diff --git a/files/zh-cn/glossary/websockets/index.html b/files/zh-cn/glossary/websockets/index.html new file mode 100644 index 0000000000..0f7b17fee2 --- /dev/null +++ b/files/zh-cn/glossary/websockets/index.html @@ -0,0 +1,37 @@ +--- +title: WebSockets +slug: Glossary/WebSockets +tags: + - Web + - WebSocket + - 协议 + - 基础设施 + - 术语 + - 网络 + - 连接 +translation_of: Glossary/WebSockets +--- +

WebSocket 是一种在客户端与{{Glossary("Server", "服务器")}}之间保持{{Glossary("TCP")}}长连接的{{Glossary("protocol","网络协议")}},这样它们就可以随时进行信息交换。

+ +

虽然任何客户端或服务器上的应用都可以使用WebSocket,但原则上还是指{{Glossary("Browser", "浏览器")}}与服务器之间使用。通过WebSocket,服务器可以直接向客户端发送数据,而无须客户端周期性的请求服务器,以动态更新数据内容。

+ +

深入了解

+ +

基本知识

+ + + +

技术参考

+ + + +

学习了解

+ + -- cgit v1.2.3-54-g00ecf