Dtls13Server.wrapInRecord

ubyte[] wrapInRecord(ContentType contentType, const(ubyte)[] payload)

Wraps a handshake message in a DTLS record.

Parameters

contentTypeThe record content type.
payloadThe record payload.

Returns

The serialized DTLS record.