idle_timeout Property
The maximum period of inactivity the class will allow before disconnecting.
Syntax
def get_idle_timeout() -> int: ... def set_idle_timeout(value: int) -> None: ...
idle_timeout = property(get_idle_timeout, set_idle_timeout)
Default Value
0
Remarks
This property controls how long, in seconds, the class will allow the connection to sit idle before it disconnects from the remote host.
This property may be set to 0 to prevent the class from ever closing the connection due to inactivity.
Note: The idle timeout cannot be changed while connected.