setUserAgent
Set the value to use for the "User-Agent" header on class@Messages sent from @session.
If @user_agent has trailing whitespace, @session will append its own product token (eg, libsoup/3.0.0
) to the end of the header for you. If @user_agent is null then no "User-Agent" will be included in requests. See property@Session:user-agent for more information.
Parameters
userAgent
the user agent string