mirror of
https://github.com/yawaflua/WebSockets.git
synced 2025-12-08 19:39:30 +02:00
16 lines
510 B
C#
16 lines
510 B
C#
using Microsoft.AspNetCore.Http;
|
|
using yawaflua.WebSockets.Core;
|
|
using yawaflua.WebSockets.Models.Interfaces;
|
|
using WebSocketManager = yawaflua.WebSockets.Core.WebSocketManager;
|
|
|
|
namespace yawaflua.WebSockets.Models.Abstracts;
|
|
|
|
public abstract class WebSocketController : IWebSocketController
|
|
{
|
|
public IWebSocketManager WebSocketManager => new WebSocketManager();
|
|
|
|
public virtual Task OnMessageAsync(WebSocket webSocket, HttpContext httpContext)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
} |