Camel.NetworkSettings
Description: Reference for Camel.NetworkSettings

### Interface

# CamelNetworkSettings

since: 3.2

#### Description

    interface Camel.NetworkSettings : Camel.Settings

No description available.

Available since: 3.2

#### Prerequisite

In order to implement NetworkSettings, your type must inherit from`CamelSettings`.

#### Instance methods

###### camel_network_settings_dup_auth_mechanism

Thread-safe variation of camel_network_settings_get_auth_mechanism(). Use this function when accessing `settings` from multiple threads.

since: 3.4

###### camel_network_settings_dup_host

Thread-safe variation of camel_network_settings_get_host(). Use this function when accessing `settings` from multiple threads.

since: 3.4

###### camel_network_settings_dup_host_ensure_ascii

Just like camel_network_settings_dup_host(), only makes sure that the returned host name will be converted into its ASCII form in case of IDNA value.

since: 3.16

###### camel_network_settings_dup_user

Thread-safe variation of camel_network_settings_get_user(). Use this function when accessing `settings` from multiple threads.

since: 3.4

###### camel_network_settings_get_auth_mechanism

Returns the mechanism name used to authenticate to a network service. Often this refers to a SASL mechanism such as “LOGIN” or “GSSAPI”.

since: 3.4

###### camel_network_settings_get_host

Returns the host name used to authenticate to a network service.

since: 3.4

###### camel_network_settings_get_port

Returns the port number used to authenticate to a network service.

since: 3.4

###### camel_network_settings_get_security_method

Returns the method used to establish a secure (or unsecure) network connection.

since: 3.2

###### camel_network_settings_get_user

Returns the user name used to authenticate to a network service.

since: 3.4

###### camel_network_settings_set_auth_mechanism

Sets the mechanism name used to authenticate to a network service. Often this refers to a SASL mechanism such as “LOGIN” or “GSSAPI”. The `CamelNetworkSettings:auth-mechanism` property is automatically stripped of leading and trailing whitespace.

since: 3.4

###### camel_network_settings_set_host

Sets the host name used to authenticate to a network service. The `CamelNetworkSettings:host` property is automatically stripped of leading and trailing whitespace.

since: 3.4

###### camel_network_settings_set_port

Sets the port number used to authenticate to a network service.

since: 3.4

###### camel_network_settings_set_security_method

Sets the method used to establish a secure (or unsecure) network connection. Note that changing this setting has no effect on an already-established network connection.

since: 3.2

###### camel_network_settings_set_user

Sets the user name used to authenticate to a network service. The `CamelNetworkSettings:user` property is automatically stripped of leading and trailing whitespace.

since: 3.4

#### Properties

###### Camel.NetworkSettings:auth-mechanism

Authentication mechanism name.

###### Camel.NetworkSettings:host

Host name for the network service.

###### Camel.NetworkSettings:port

Port number for the network service.

###### Camel.NetworkSettings:security-method

Method used to establish a network connection.

###### Camel.NetworkSettings:user

User name for the network account.

#### Interface structure

    struct CamelNetworkSettingsInterface {
      GTypeInterface parent_interface;
      gpointer reserved;

    }

No description available.

###### Interface members

`parent_interface` |
    GTypeInterface
| No description available.
`reserved` |
    gpointer
| No description available.