RecordLayer.writeRecord
void writeRecord(ContentType contentType, ProtocolVersion ver,
const(ubyte)[] fragment)Writes a TLS record to the transport (blocking).
Parameters
contentType | The record content type. |
ver | The protocol version for the header. |
fragment | The record payload. |
Throws
TlsException on I/O errors.