TlsContext.setMaxVersion

TlsContext setMaxVersion(TlsVersion ver) ref pure @safe nothrow @nogc return

Set the maximum TLS protocol version.

Parameters

verThe maximum version to allow.

Returns

Reference to this context for method chaining.