Goa.Exchange.get_host

### Method

# Goa Exchange get_host

since: 3.6.0

#### Declaration [src]

    const gchar*
    goa_exchange_get_host (
      GoaExchange* object
    )

#### Description [src]

Gets the value of the “Host” D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where `object` was constructed. Use `goa_exchange_dup_host()` if on another thread.

Available since: 3.6.0

This method is not directly available to language bindings.

Gets property | `Goa.Exchange:host`

#### Return value

Type: `const gchar*`

The property value or `NULL` if the property is not set. Do not free the returned value, it belongs to `object`.

The returned data is owned by the instance.
The return value can be `NULL`.
The value is a NUL terminated UTF-8 string.