DtlsEngine.setOnEarlyData
void setOnEarlyData(DtlsEarlyDataCallback callback)Sets a callback invoked when the server receives early data.
The callback should return true to accept the early data, false to reject it (the client will resend after handshake completes).
Parameters
callback | Callback receiving the peer address and early data. |