Added the HTTP response headers for the WebSocket

This commit is contained in:
sta 2014-12-09 14:24:17 +09:00
parent f3fb377f45
commit bf890b5b47

View File

@ -44,7 +44,8 @@ namespace WebSocketSharp.Net
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// The HttpResponseHeader enumeration contains the HTTP response headers defined in /// The HttpResponseHeader enumeration contains the HTTP response headers defined in
/// <see href="http://tools.ietf.org/html/rfc2616#section-14">RFC 2616</see> for HTTP/1.1. /// <see href="http://tools.ietf.org/html/rfc2616#section-14">RFC 2616</see> for the HTTP/1.1 and
/// <see href="http://tools.ietf.org/html/rfc6455#section-11.3">RFC 6455</see> for the WebSocket.
/// </remarks> /// </remarks>
public enum HttpResponseHeader public enum HttpResponseHeader
{ {
@ -167,6 +168,22 @@ namespace WebSocketSharp.Net
/// <summary> /// <summary>
/// Indicates the WWW-Authenticate header. /// Indicates the WWW-Authenticate header.
/// </summary> /// </summary>
WwwAuthenticate WwwAuthenticate,
/// <summary>
/// Indicates the Sec-WebSocket-Extensions header.
/// </summary>
SecWebSocketExtensions,
/// <summary>
/// Indicates the Sec-WebSocket-Accept header.
/// </summary>
SecWebSocketAccept,
/// <summary>
/// Indicates the Sec-WebSocket-Protocol header.
/// </summary>
SecWebSocketProtocol,
/// <summary>
/// Indicates the Sec-WebSocket-Version header.
/// </summary>
SecWebSocketVersion
} }
} }