adds comments, OOP incapsulation and publish package to nuget

This commit is contained in:
Dmitri Shimanski
2025-03-29 02:54:54 +03:00
parent 2ba9667a01
commit 1b1eb17bee
11 changed files with 103 additions and 19 deletions

View File

@@ -5,5 +5,11 @@ namespace yawaflua.WebSockets.Models.Interfaces;
internal interface IWebSocketController
{
Task OnMessageAsync(WebSocket webSocket, HttpContext httpContext);
/// <summary>
/// Example of working with IWebSocketController
/// </summary>
/// <param name="webSocket"></param>
/// <param name="httpContext"></param>
/// <returns></returns>
Task OnMessageAsync(IWebSocket webSocket, HttpContext httpContext);
}