TlsContext.isServer

bool isServer() const pure @safe nothrow @nogc

Check if this context is configured for server role.

Returns

true if the role is SERVER.