DtlsContext.setSessionResumption

void setSessionResumption(bool enable, size_t maxEarlyData = 16384)

Enables or disables session resumption (DTLS 1.3).

Parameters

enabletrue to enable session tickets.
maxEarlyDataMaximum early data size (0 to disable 0-RTT).