TlsTransport.write

ptrdiff_t write(const(ubyte)[] data)

Writes raw bytes to the underlying transport.

Parameters

dataThe data to write.

Returns

The number of bytes written, or a negative IoResult value on error/would-block.