get_query_string_ordered


Description:

[ Version ( since = "1.24" ) ]
public string? get_query_string_ordered (List<string>? keys)

Get a percent encoded URI query string from the this, with query parameters in the order provided by the keys list.

Only parameter keys in the list will be added to the resulting URI string. This method can be used by retrieving the keys with get_query_keys and then sorting the list, for example.

Parameters:

this

The Uri to get the query string from.

keys

A GList containing the query argument key strings.

Returns:

A percent encoded query string. Use g_free when no longer needed.