DtlsPeer.write

TlsResult write(const(ubyte)[] data)

Writes application data to be encrypted and sent to this peer.

Parameters

dataPlaintext data to encrypt and send.

Returns

TlsResult with bytes written, or appropriate progress/error.