TlsStream.role

TlsRole role() @property const;

Returns

The role of this endpoint (client or server).