diff options
Diffstat (limited to 'files/zh-cn/web/http/headers/sec-websocket-accept/index.html')
-rw-r--r-- | files/zh-cn/web/http/headers/sec-websocket-accept/index.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/files/zh-cn/web/http/headers/sec-websocket-accept/index.html b/files/zh-cn/web/http/headers/sec-websocket-accept/index.html new file mode 100644 index 0000000000..732cd27b29 --- /dev/null +++ b/files/zh-cn/web/http/headers/sec-websocket-accept/index.html @@ -0,0 +1,14 @@ +--- +title: Sec-WebSocket-Accept +slug: Web/HTTP/Headers/Sec-WebSocket-Accept +translation_of: Web/HTTP/Headers/Sec-WebSocket-Accept +--- +<div>{{HTTPSidebar}}{{Draft}}</div> + +<p><strong>Sec-WebSocket-Accept</strong> 头 (header) 用在websocket开放握手中。它会出现在响应头中。 也就是说,这是由服务器发送到客户端的头(header),用以告知服务器愿发起一个websocket连接。</p> + +<h2 id="Browser_compatibility">Browser compatibility</h2> + + + +<p>{{Compat("http.headers.Sec-WebSocket-Accept")}}</p> |