set_user_agent


Description:

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

Set the HTTP user-agent that is sent with each request to snapd.

Defaults to "snapd-glib/VERSION".

Parameters:

this

a Client

user_agent

a user agent or null.