get_user_agent


Description:

[ Version ( since = "1.16" ) ]
public unowned string? get_user_agent ()

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

Parameters:

this

a Client

Returns:

user agent or null if none set.