mirror of
https://github.com/yawaflua/WebSockets.git
synced 2025-12-16 01:46:19 +02:00
Adds example of using preConnectionHandler, create OnConnectionHandler(preConnectionHandler), use WebSocketOptions for provides data
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
using System.Net.WebSockets;
|
||||
using yawaflua.WebSockets.Core;
|
||||
|
||||
namespace yawaflua.WebSockets.Models.Interfaces;
|
||||
|
||||
public interface IWebSocket : IDisposable
|
||||
{
|
||||
WebSocketState State { get; }
|
||||
IWebSocketManager WebSocketManager { get; }
|
||||
WebSocketCloseStatus? CloseStatus { get; }
|
||||
string? SubProtocol { get; }
|
||||
string? CloseStatusDescription { get; }
|
||||
|
||||
Reference in New Issue
Block a user