Function qpid_proton_sys::pn_connection_set_hostname[][src]

pub unsafe extern "C" fn pn_connection_set_hostname(
    connection: *mut pn_connection_t,
    hostname: *const c_char
)
Expand description

Set the name of the virtual host (either fully qualified or relative) to which this connection is connecting to. This information may be used by the remote peer to determine the correct back-end service to connect the client to. This value will be sent in the Open performative, and will be used by SSL and SASL layers to identify the peer.