|
|
|
@ -32,7 +32,7 @@ using WebSocketSharp.Net.WebSockets;
|
|
|
|
namespace WebSocketSharp.Server
|
|
|
|
namespace WebSocketSharp.Server
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Exposes the access to the session to the WebSocket service.
|
|
|
|
/// Exposes the access to the session information in the WebSocket service.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public interface IWebSocketSession
|
|
|
|
public interface IWebSocketSession
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -41,7 +41,7 @@ namespace WebSocketSharp.Server
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <value>
|
|
|
|
/// <value>
|
|
|
|
/// A <see cref="WebSocketContext"/> that represents the WebSocket connection
|
|
|
|
/// A <see cref="WebSocketContext"/> that represents the WebSocket connection
|
|
|
|
/// request.
|
|
|
|
/// request information.
|
|
|
|
/// </value>
|
|
|
|
/// </value>
|
|
|
|
WebSocketContext Context { get; }
|
|
|
|
WebSocketContext Context { get; }
|
|
|
|
|
|
|
|
|
|
|
|
@ -54,11 +54,19 @@ namespace WebSocketSharp.Server
|
|
|
|
string ID { get; }
|
|
|
|
string ID { get; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the time that the session has been started.
|
|
|
|
/// Gets the subprotocol used on the WebSocket connection.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
|
|
/// A <see cref="string"/> that represents the subprotocol if any.
|
|
|
|
|
|
|
|
/// </value>
|
|
|
|
|
|
|
|
string Protocol { get; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets the time that the session has started.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <value>
|
|
|
|
/// <value>
|
|
|
|
/// A <see cref="DateTime"/> that represents the time that the session has
|
|
|
|
/// A <see cref="DateTime"/> that represents the time that the session has
|
|
|
|
/// been started.
|
|
|
|
/// started.
|
|
|
|
/// </value>
|
|
|
|
/// </value>
|
|
|
|
DateTime StartTime { get; }
|
|
|
|
DateTime StartTime { get; }
|
|
|
|
|
|
|
|
|
|
|
|
@ -66,7 +74,7 @@ namespace WebSocketSharp.Server
|
|
|
|
/// Gets the state of the WebSocket connection.
|
|
|
|
/// Gets the state of the WebSocket connection.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <value>
|
|
|
|
/// <value>
|
|
|
|
/// One of the <see cref="WebSocketState"/> values that indicate the state of
|
|
|
|
/// One of the <see cref="WebSocketState"/> enum values, indicates the state of
|
|
|
|
/// the WebSocket connection.
|
|
|
|
/// the WebSocket connection.
|
|
|
|
/// </value>
|
|
|
|
/// </value>
|
|
|
|
WebSocketState State { get; }
|
|
|
|
WebSocketState State { get; }
|
|
|
|
|