TlsConnection.setInteraction

void setInteraction(gio.tls_interaction.TlsInteraction interaction = null) nothrow

Set the object that will be used to interact with the user. It will be used for things like prompting the user for passwords.

The interaction argument will normally be a derived subclass of #GTlsInteraction. null can also be provided if no user interaction should occur for this connection.

Parameters

interactionan interaction object, or null