From bf890b5b47102fbae6557390f47c226662e6c0f8 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 9 Dec 2014 14:24:17 +0900 Subject: [PATCH] Added the HTTP response headers for the WebSocket --- websocket-sharp/Net/HttpResponseHeader.cs | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/Net/HttpResponseHeader.cs b/websocket-sharp/Net/HttpResponseHeader.cs index 954517ef..d8f36ed8 100644 --- a/websocket-sharp/Net/HttpResponseHeader.cs +++ b/websocket-sharp/Net/HttpResponseHeader.cs @@ -44,7 +44,8 @@ namespace WebSocketSharp.Net /// /// /// The HttpResponseHeader enumeration contains the HTTP response headers defined in - /// RFC 2616 for HTTP/1.1. + /// RFC 2616 for the HTTP/1.1 and + /// RFC 6455 for the WebSocket. /// public enum HttpResponseHeader { @@ -167,6 +168,22 @@ namespace WebSocketSharp.Net /// /// Indicates the WWW-Authenticate header. /// - WwwAuthenticate + WwwAuthenticate, + /// + /// Indicates the Sec-WebSocket-Extensions header. + /// + SecWebSocketExtensions, + /// + /// Indicates the Sec-WebSocket-Accept header. + /// + SecWebSocketAccept, + /// + /// Indicates the Sec-WebSocket-Protocol header. + /// + SecWebSocketProtocol, + /// + /// Indicates the Sec-WebSocket-Version header. + /// + SecWebSocketVersion } }