Added the HTTP request headers for the WebSocket
This commit is contained in:
parent
c1dc05a256
commit
f3fb377f45
@ -44,7 +44,8 @@ namespace WebSocketSharp.Net
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 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>
|
||||
public enum HttpRequestHeader
|
||||
{
|
||||
@ -211,6 +212,22 @@ namespace WebSocketSharp.Net
|
||||
/// <summary>
|
||||
/// Indicates the User-Agent header.
|
||||
/// </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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user