mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-29 04:56:55 +08:00
11 lines
310 B
C#
11 lines
310 B
C#
using System.Net.WebSockets;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
namespace AgileConfig.Server.Apisite.Websocket.MessageHandlers;
|
|
|
|
public interface IMessageHandler
|
|
{
|
|
bool Hit(HttpRequest request);
|
|
Task Handle(string message, HttpRequest request, WebsocketClient client);
|
|
} |