pladaria / reconnecting-websocket

Reconnecting WebSocket. For Web, React Native, cli (Node.js)
MIT License
1.22k stars 197 forks source link

Max Buffered Messages config #96

Closed phil-flyclops closed 5 years ago

phil-flyclops commented 5 years ago

I'd like to add a config value for the maximum number of buffered messages which defaults to Infinity. I wanted to see if this would be acceptable before writing a PR, or if I should just fork the project entirely

phil-flyclops commented 5 years ago

Pull Request #97 Has a basic implementation of this behavior

pladaria commented 5 years ago

PR accepted, thanks!