Added the HTTP request headers for the WebSocket

This commit is contained in:
sta 2014-12-08 11:55:25 +09:00
parent c1dc05a256
commit f3fb377f45

View File

@ -44,7 +44,8 @@ namespace WebSocketSharp.Net
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// The HttpRequestHeader enumeration contains the HTTP request headers defined in /// The HttpRequestHeader enumeration contains the HTTP request 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 HttpRequestHeader public enum HttpRequestHeader
{ {
@ -211,6 +212,22 @@ namespace WebSocketSharp.Net
/// <summary> /// <summary>
/// Indicates the User-Agent header. /// Indicates the User-Agent header.
/// </summary> /// </summary>
UserAgent UserAgent,
/// <summary>
/// Indicates the Sec-WebSocket-Key header.
/// </summary>
SecWebSocketKey,
/// <summary>
/// Indicates the Sec-WebSocket-Extensions header.
/// </summary>
SecWebSocketExtensions,
/// <summary>
/// Indicates the Sec-WebSocket-Protocol header.
/// </summary>
SecWebSocketProtocol,
/// <summary>
/// Indicates the Sec-WebSocket-Version header.
/// </summary>
SecWebSocketVersion
} }
} }