on_session_closed Event
Reports session closure.
Syntax
class SFTPServerSessionClosedEventParams(object): @property def connection_id() -> int: ... # In class SFTPServer: @property def on_session_closed() -> Callable[[SFTPServerSessionClosedEventParams], None]: ... @on_session_closed.setter def on_session_closed(event_hook: Callable[[SFTPServerSessionClosedEventParams], None]) -> None: ...
Remarks
This event is fired when a connection identified by ConnectionID has been gracefully closed.