set_user_agent_with_application_details


Description:

public void set_user_agent_with_application_details (string? application_name, string? application_version)

Set the user_agent property by appending the application details.

Set the user_agent property by appending the application details to the default user agent. If no application name or version is given, the default user agent used will be used. If only the version is given, the default engine version is used with the given application name.

Parameters:

this

a Settings

application_name

The application name used for the user agent or null to use the default user agent.

application_version

The application version for the user agent or null to user the default version.




2022 vala-language.org