RecordLayer.writeRecord

void writeRecord(ContentType contentType, ProtocolVersion ver, const(ubyte)[] fragment)

Writes a TLS record to the transport (blocking).

Parameters

contentTypeThe record content type.
verThe protocol version for the header.
fragmentThe record payload.

Throws

TlsException on I/O errors.