onRequestCertificate

fun onRequestCertificate(    connectFlags: <Error class: unknown class> = ConnectFlags(0u),     handler: (<Error class: unknown class>) -> Boolean): <Error class: unknown class>(source)

Emitted during the @msg's connection TLS handshake when

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: tlsConnection the #GTlsClientConnection. Returns true to handle the request, or false to make the connection fail with %G_TLS_ERROR_CERTIFICATE_REQUIRED.