socketio: Mimic what Express does to get client IP address

This also makes it easier for plugins to get the client IP address.
This commit is contained in:
Richard Hansen 2020-10-06 19:44:34 -04:00 committed by John McLear
parent ba6bdf35be
commit 661a89355f
5 changed files with 17 additions and 35 deletions

View file

@ -55,6 +55,7 @@
"nodeify": "1.0.1",
"npm": "6.14.8",
"openapi-backend": "2.4.1",
"proxy-addr": "^2.0.6",
"rate-limiter-flexible": "^2.1.4",
"rehype": "^10.0.0",
"rehype-format": "^3.0.1",