Uri.getQueryStringOrdered

string getQueryStringOrdered(string[] keys = null)

Get a percent encoded URI query string from the uri, 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 [gst.uri.Uri.getQueryKeys] and then sorting the list, for example.

Parameters

keysA GList containing the query argument key strings.

Returns

A percent encoded query string. Use

[glib.global.gfree] when no longer needed.