Virtual Method

PurpleUiget_user_agent

unstable since: 3.0

Declaration [src]

char*
get_user_agent (
  PurpleUi* ui
)

Description [src]

Gets a user agent string for the user interface.

This is intended to be used as an HTTP header.

User interfaces may override this.

Available since: 3.0

Return value

Type: char*

The user agent string.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.