Dtls13Client.buildDtlsRecord
ubyte[] buildDtlsRecord(ContentType contentType, const(ubyte)[] payload)Builds a complete DTLS record with 13-byte header.
Parameters
contentType | The record content type. |
payload | The record payload. |
Returns
The serialized DTLS record (header + payload).