This change was briefly discussed here (7 years ago!): #32
By passing the logout request to the callback, the callback can determine the session indexes that should be destroyed. Similarly I ended up adding the logout response to the callback though I'm not 100% sure if this is useful. I'm happy to remove that part if it is not deemed useful.
I added a check for backward compatibility such that callbacks that do not accept any arguments will still work as expected.
This change was briefly discussed here (7 years ago!): #32
By passing the logout request to the callback, the callback can determine the session indexes that should be destroyed. Similarly I ended up adding the logout response to the callback though I'm not 100% sure if this is useful. I'm happy to remove that part if it is not deemed useful.
I added a check for backward compatibility such that callbacks that do not accept any arguments will still work as expected.