mirror of
https://github.com/yawaflua/WebSockets.git
synced 2026-02-04 14:04:11 +02:00
15 lines
433 B
C#
15 lines
433 B
C#
using System.Net.WebSockets;
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
namespace yawaflua.WebSockets.Models.Interfaces;
|
|
|
|
public interface IWebSocketClient
|
|
{
|
|
public Guid Id { get; }
|
|
public string Path { get; }
|
|
public ConnectionInfo? ConnectionInfo { get; }
|
|
public IDictionary<object, object>? Items { get; set; }
|
|
public HttpRequest? HttpRequest { get; }
|
|
internal WebSocket webSocket { get; }
|
|
public Task Abort();
|
|
} |