Defines the contract for an application session within a SuperSocket server. Use this to implement custom session management logic for TCP or WebSocket servers.
// Source: https://github.com/kerryjiang/SuperSocket | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using SuperSocket.Connection;
using SuperSocket.ProtoBase;
namespace SuperSocket.Server.Abstractions.Session
{
/// <summary>
/// Represents an application session in the SuperSocket server.
/// </summary>
public interface IAppSession
{
/// <summary>
/// Gets the unique identifier for this session.
/// </summary>
string SessionID { get; }
/// <summary>
/// Gets the time when
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key