github.com/animir/node-…
> Limit number of events by IP, uniqueUserId or/and socket.id with rate-limiter-flexible package.
hope it helps :-)
https://github.com/animir/node-rate-limiter-flexible/wiki/Overall-example#websocket-single-connection-prevent-flooding
https://github.com/animir/node-rate-limiter-flexible/wiki/Overall-example#websocket-single-connection-prevent-flooding
> Limit number of events by IP, uniqueUserId or/and socket.id with rate-limiter-flexible package.
hope it helps :-)