1 // Copyright 2013 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/websockets/websocket_handshake_constants.h" 6 7 namespace net::websockets { 8 9 const char kHttpProtocolVersion[] = "HTTP/1.1"; 10 11 const char kSecWebSocketProtocol[] = "Sec-WebSocket-Protocol"; 12 const char kSecWebSocketExtensions[] = "Sec-WebSocket-Extensions"; 13 const char kSecWebSocketKey[] = "Sec-WebSocket-Key"; 14 const char kSecWebSocketAccept[] = "Sec-WebSocket-Accept"; 15 const char kSecWebSocketVersion[] = "Sec-WebSocket-Version"; 16 17 const char kSupportedVersion[] = "13"; 18 19 const char kUpgrade[] = "Upgrade"; 20 const char kWebSocketGuid[] = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; 21 22 const char kWebSocketLowercase[] = "websocket"; 23 24 } // namespace net::websockets 25