Gio.TlsConnection.prototype.get_require_close_notify

function get_require_close_notify(): Boolean {
    // Gjs wrapper for g_tls_connection_get_require_close_notify()
}
  

Tests whether or not conn expects a proper TLS close notification when the connection is closed. See Gio.TlsConnection.prototype.set_require_close_notify for details.

Since 2.28

Returns

true if conn requires a proper TLS close notification.