on_disconnect Event
This event is fired when a client has disconnected.
Syntax
class SFTPServerDisconnectEventParams(object): @property def connection_id() -> int: ... # In class SFTPServer: @property def on_disconnect() -> Callable[[SFTPServerDisconnectEventParams], None]: ... @on_disconnect.setter def on_disconnect(event_hook: Callable[[SFTPServerDisconnectEventParams], None]) -> None: ...
Remarks
This event reports loss of connection to the client within the session specified by ConnectionID.