[*] map body

This commit is contained in:
acgist
2023-02-12 15:33:35 +08:00
parent e8ae344d11
commit 61c93b2614
34 changed files with 223 additions and 189 deletions

View File

@@ -26,6 +26,7 @@ public class WebSocketUtils {
if (session == null) {
return null;
}
// 远程IP地址
return (String) getField(session.getAsyncRemote(), "base.socketWrapper.remoteAddr");
}