set_reserved_function_config()
method for HiSockClient and HiSockServer
#20
Labels
Difficulty - Hard
Hard to implement/fix
Enhancement - Medium
A feature request that a small portion of users request
Is your feature request related to a problem? Please describe.
When I saw sheepy use hisock, he used his implementation of the
leave
reserved function, because he sent some extra data. So, I realized that the functions would be useless to people who want to have their custom data sent on a particular reserved function event.Describe the solution you'd like
So, I plan to add this method so that users can specify the data they want to send whenever a reserved function is triggered. The usage would probably be like
server.set_reserved_function_config('leave', ['clt_info', 'my_data', 'more_data'])
The text was updated successfully, but these errors were encountered: