diff options
author | vnugent <public@vaughnnugent.com> | 2023-08-19 23:45:43 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-08-19 23:45:43 -0400 |
commit | 746ec92adcbc9ed4ce3400f4e9f577230061ece0 (patch) | |
tree | 97f51a369ae554da9b4dd87e1b0715d2ca603d3c /plugins/ObjectCacheServer/src | |
parent | 9c9e00515a367a7c4a916d19c3d71795f2193910 (diff) |
Websocket essentials api change
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); |