aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/http/headers/sec-websocket-accept/index.html
blob: 732cd27b297d5ca3c36518a5aa8cb74b905e7bf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>