use of net.runelite.http.api.ws.messages.LoginResponse in project runelite by runelite.
the class AccountService method notifySession.
private void notifySession(UUID uuid, String username) {
WSSession session = SessionManager.findSession(uuid);
if (session == null) {
logger.info("Session {} logged in - but no websocket session", uuid);
return;
}
WSService service = session.getServlet();
LoginResponse response = new LoginResponse();
response.setUsername(username);
service.send(response);
}
Aggregations