before calling [gio.dtls_connection.DtlsConnection.handshake] if you want to rehandshake with a different mode from the initial handshake.
gio.dtls_server_connection_mixin
Module for [DtlsServerConnection] interface mixin
Templates 2
tmplDtlsServerConnectionT()
[gio.dtls_server_connection.DtlsServerConnection] is the server-side subclass of [gio.dtls_connection.DtlsConnection], representing a server-side DTLS connection.
Functions
gio.types.TlsAuthenticationMode authenticationMode()
Get authenticationMode property.
Returns
The #GTlsAuthenticationMode for the server. This can be changed
void authenticationMode(gio.types.TlsAuthenticationMode propval)
Set authenticationMode property.
Parameters
propval | The #GTlsAuthenticationMode for the server. This can be changed before calling [gio.dtls_connection.DtlsConnection.handshake] if you want to rehandshake with a different mode from the initial handshake. |
tmplDtlsServerConnectionGidBuilderT()
Functions
T authenticationMode(gio.types.TlsAuthenticationMode propval)
Set authenticationMode property.
Parameters
propval | The #GTlsAuthenticationMode for the server. This can be changed before calling [gio.dtls_connection.DtlsConnection.handshake] if you want to rehandshake with a different mode from the initial handshake. |
Returns
Builder instance for fluent chaining