Pithikos / python-websocket-server

A simple fully working websocket-server in Python with no external dependencies
MIT License
1.14k stars 381 forks source link

Add ability to send additional args with functions #55

Closed Steampunkery closed 3 years ago

Steampunkery commented 6 years ago

For all the overridable methods, I added an optional tuple of extra arguments to be unpacked into arguments for the method. All the user has to do is account for the extra parameters after the default ones in the function they make. It's really useful for more complex actions in the functions.

Pithikos commented 3 years ago

I'm sorry but can't merge this. Don't see how this adds anything to the library