diff options
Diffstat (limited to 'plugins/ObjectCacheServer/src')
-rw-r--r-- | plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs b/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs index 874233b..a798314 100644 --- a/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs +++ b/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs @@ -374,9 +374,9 @@ namespace VNLib.Data.Caching.ObjectCache.Server.Endpoints return VfReturnType.VirtualSkip; } - private async Task WebsocketAcceptedAsync(WebSocketSession wss) + private async Task WebsocketAcceptedAsync(WebSocketSession<WsUserState> wss) { - WsUserState state = (WsUserState)wss.UserState!; + WsUserState state = wss.UserState!; //Notify peers of new connection Peers.OnPeerConnected(state); |