Gio.TlsClientConnection.prototype.get_server_identity

function get_server_identity(): Gio.SocketConnectable {
    // Gjs wrapper for g_tls_client_connection_get_server_identity()
}
  

Gets conn's expected server identity

Since 2.28

Returns

a Gio.SocketConnectable describing the expected server identity, or null if the expected identity is not known.