mirror of
https://github.com/yawaflua/WebSockets.git
synced 2026-02-04 14:04:11 +02:00
Adds onOpenHandler
This commit is contained in:
10
yawaflua.WebSockets/Core/WebSocketConfig.cs
Normal file
10
yawaflua.WebSockets/Core/WebSocketConfig.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using yawaflua.WebSockets.Models.Interfaces;
|
||||
|
||||
namespace yawaflua.WebSockets.Core;
|
||||
|
||||
public class WebSocketConfig
|
||||
{
|
||||
public Func<IWebSocket, HttpContext, Task>? OnOpenHandler { get; set; } = null;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user