connectRequestCertificate

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

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.