NativeDtlsEngine.setIdleTimeout

void setIdleTimeout(Duration timeout) @safe pure nothrow @nogc

Set the idle timeout.

If no data is received from a peer within this duration, the peer will be considered idle and may be pruned.

Parameters

timeoutThe idle timeout duration.