EDataServer.SourceAuthentication.set_host

### Method

# EDataServer SourceAuthenticationset_host

since: 3.6

#### Declaration [src]

    void
    e_source_authentication_set_host (
      ESourceAuthentication* extension,
      const gchar* host
    )

#### Description [src]

Sets the host name used to authenticate to a remote account.

The internal copy of `host` is automatically stripped of leading and trailing whitespace. If the resulting string is empty, `NULL` is set instead.

Available since: 3.6

Sets property | `EDataServer.SourceAuthentication:host`

#### Parameters

`host`

  Type: `const gchar*`

  A host name, or `NULL`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.