mirror of
https://github.com/yawaflua/WebSockets.git
synced 2026-02-04 22:14:11 +02:00
adds comments, OOP incapsulation and publish package to nuget
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user