Dtls12Client.wrapInRecord
ubyte[] wrapInRecord(ContentType contentType, const(ubyte)[] payload)Wraps a handshake message in a DTLS record.
Parameters
contentType | The record content type. |
payload | The record payload. |
Returns
The serialized DTLS record.