Method

GioNetworkServiceset_scheme

Declaration

void
g_network_service_set_scheme (
  GNetworkService* srv,
  const gchar* scheme
)

Description

Set’s the URI scheme used to resolve proxies. By default, the service name is used as scheme.

Available since:2.26

Parameters

scheme

Type: const gchar*

A URI scheme.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.