Method

AppStreamComposeComposeset_user_agent

since: 1.2.1

Declaration [src]

void
asc_compose_set_user_agent (
  AscCompose* compose,
  const gchar* user_agent
)

Description [src]

Set the user agent that download operations performed by this AscCompose identify themselves with.

Available since: 1.2.1

Parameters

user_agent

Type: const gchar*

The user agent to use, e.g. mygenerator/1.0.

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