using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Net;
using System.Security.Principal;
using System.Threading;
using EmbedIO.Sessions;
namespace EmbedIO.WebSockets
{
///
/// Represents the context of a WebSocket connection.
///
public interface IWebSocketContext
{
///
/// Gets a unique identifier for a WebSocket context.
///
string Id { get; }
///
/// Gets the used to cancel operations.
///
CancellationToken CancellationToken { get; }
///
/// Gets the unique identifier of the opening handshake HTTP context.
///
string HttpContextId { get; }
///
/// Gets the session proxy associated with the opening handshake HTTP context.
///
ISessionProxy Session { get; }
///
/// Gets the dictionary of data associated with the opening handshake HTTP context.
///
IDictionary