NativeDtlsEngine.setOnPeerEvicted

void setOnPeerEvicted(DtlsEvictCallback callback) @safe pure nothrow @nogc

Set the peer eviction callback.

The callback is invoked whenever a peer is removed from the connection table, with the reason for the eviction.

Parameters

callbackThe callback delegate.