mirror of
https://github.com/yawaflua/WebSockets.git
synced 2026-02-04 22:14:11 +02:00
Create project files
This commit is contained in:
15
yawaflua.WebSockets/Models/Interfaces/IWebSocketClient.cs
Normal file
15
yawaflua.WebSockets/Models/Interfaces/IWebSocketClient.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user