mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-23 19:46:26 +00:00
Add extension to recycle websockets (#50)
Signed-off-by: Macocian Alexandru Victor <amacocian@yahoo.com>
This commit is contained in:
@@ -28,4 +28,6 @@ public interface IClientWebSocket<TScope>
|
||||
Task<WebSocketReceiveResult> ReceiveAsync(ArraySegment<byte> buffer, CancellationToken cancellationToken);
|
||||
|
||||
Task SendAsync(ArraySegment<byte> buffer, WebSocketMessageType messageType, bool endOfMessage, CancellationToken cancellationToken);
|
||||
|
||||
void RefreshSocket(ClientWebSocket? clientWebSocket = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user