Method

GioProxyAddressget_protocol

since: 2.26

Declaration

const gchar*
g_proxy_address_get_protocol (
  GProxyAddress* proxy
)

Description

Gets proxys protocol. eg, “socks” or “http”

Available since: 2.26

Return value

Type: const gchar*

The proxys protocol.

The data is owned by the instance.
The value is a NUL terminated UTF-8 string.