[Modify] Add it
This commit is contained in:
parent
fffc3277a2
commit
9fb42cf86f
@ -27,6 +27,7 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Collections.Specialized;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using WebSocketSharp.Net;
|
using WebSocketSharp.Net;
|
||||||
using WebSocketSharp.Net.WebSockets;
|
using WebSocketSharp.Net.WebSockets;
|
||||||
@ -72,6 +73,23 @@ namespace WebSocketSharp.Server
|
|||||||
|
|
||||||
#region Protected Properties
|
#region Protected Properties
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the HTTP headers included in a WebSocket handshake request.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>
|
||||||
|
/// <para>
|
||||||
|
/// A <see cref="NameValueCollection"/> that contains the headers.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// <see langword="null"/> if the session has not started yet.
|
||||||
|
/// </para>
|
||||||
|
/// </value>
|
||||||
|
protected NameValueCollection Headers {
|
||||||
|
get {
|
||||||
|
return _context != null ? _context.Headers : null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the logging function.
|
/// Gets the logging function.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user