NativeDtlsEngine.setMaxVersion

void setMaxVersion(DtlsVersion ver) @safe pure nothrow @nogc

Set the maximum DTLS version to offer.

The engine will not offer a version higher than this maximum.

Parameters

verThe maximum DTLS version.