set_user_agent


Description:

[ Version ( since = "1.4.5" ) ]
public void set_user_agent (string user_agent)

Manually sets the user agent that is used for downloading.

The user agent should contain the runtime version of fwupd somewhere in the provided string.

Parameters:

this

A Client

user_agent

the user agent ID, e.g. `gnome-software/3.34.1`




2022 vala-language.org