TlsStream.ioInterest

TlsIoInterest ioInterest() const pure @safe nothrow @nogc

Get the current I/O interest for the underlying transport.

After each TLS operation, call this to determine what events to register for on the EventLoop. TLS operations can require both reads and writes due to renegotiation.

Returns

The I/O interest mask based on the last TLS operation result.