TlsStream.write

TlsIOResult write(const(ubyte)[] data) @trusted nothrow

Write data to the TLS stream (will be encrypted).

This is a non-blocking operation.

Parameters

dataData to write.

Returns

Result indicating success with bytes written, or error/would-block status.