### Method

# Gio DtlsClientConnection get_server_identity

since: 2.48

#### Declaration

    GSocketConnectable*
    g_dtls_client_connection_get_server_identity (
      GDtlsClientConnection* conn
    )

#### Description

Gets `conn`‘s expected server identity.

Available since: 2.48

Gets property | `Gio.DtlsClientConnection:server-identity`

#### Return value

Type: `GSocketConnectable`

A `GSocketConnectable` describing the expected server identity, or `NULL` if the expected identity is not known.

The data is owned by the instance.