on_tls_shutdown Event
Reports closure of a TLS session.
Syntax
class DTLSServerTLSShutdownEventParams(object): @property def connection_id() -> int: ... # In class DTLSServer: @property def on_tls_shutdown() -> Callable[[DTLSServerTLSShutdownEventParams], None]: ... @on_tls_shutdown.setter def on_tls_shutdown(event_hook: Callable[[DTLSServerTLSShutdownEventParams], None]) -> None: ...
Remarks
The class fires this event when a connected client closes their TLS session gracefully. This event is typically followed by a on_disconnect, which marks the closure of the underlying TCP session.