mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-18 04:05:20 +01:00
Additional counters and timers for WebSocket connections
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
*/
|
||||
package org.whispersystems.websocket.session;
|
||||
|
||||
import org.whispersystems.websocket.WebSocketClient;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import javax.annotation.Nullable;
|
||||
import org.whispersystems.websocket.WebSocketClient;
|
||||
|
||||
public class WebSocketSessionContext {
|
||||
|
||||
@@ -34,6 +34,7 @@ public class WebSocketSessionContext {
|
||||
throw new IllegalArgumentException("No authenticated type for: " + clazz + ", we have: " + authenticated);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Object getAuthenticated() {
|
||||
return authenticated;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user