mirror of
https://github.com/yawaflua/WebSockets.git
synced 2025-12-08 19:39:30 +02:00
15 lines
436 B
C#
15 lines
436 B
C#
using Microsoft.AspNetCore.Http;
|
|
using yawaflua.WebSockets.Core;
|
|
|
|
namespace yawaflua.WebSockets.Models.Interfaces;
|
|
|
|
internal interface IWebSocketController
|
|
{
|
|
/// <summary>
|
|
/// Example of working with IWebSocketController
|
|
/// </summary>
|
|
/// <param name="webSocket"></param>
|
|
/// <param name="httpContext"></param>
|
|
/// <returns></returns>
|
|
Task OnMessageAsync(IWebSocket webSocket, HttpContext httpContext);
|
|
} |