Hi thanks for getting back to me,

That's fine if it doesn't work in future releases, I will most likely stay on 3.0.0.

Unfortunately when trying to add this line to the dtls_server example I get:

error: dereferencing pointer to incomplete type 'mbedtls_ssl_handshake_params' {aka 'struct mbedtls_ssl_handshake_params'}
int resumed = ssl.MBEDTLS_PRIVATE(handshake)->resume;
                                                                                  ^~

my use case for this is to test a client's ability to connect to the server and use session caching, I want to essentially send messages to the server from a client, and have the server send a message back either 'session cache was used' or 'session cache was not used'.