miguelgrinberg / python-engineio

Python Engine.IO server and client
MIT License
233 stars 148 forks source link

Provide a "reason" argument in the disconnect handler #355

Open miguelgrinberg opened 5 months ago

miguelgrinberg commented 5 months ago

Many times it is necessary to know why a socket was disconnected. The JS implementation provides a reason argument for this in the client and the server.