UriParamsIter.next

bool next(out string attribute, out string value)

Advances iter and retrieves the next attribute/value. false is returned if an error has occurred (in which case error is set), or if the end of the iteration is reached (in which case attribute and value are set to null and the iterator becomes invalid). If true is returned, [glib.uri_params_iter.UriParamsIter.next] may be called again to receive another attribute/value pair.

Note that the same attribute may be returned multiple times, since URIs allow repeated attributes.

Parameters

attributeon return, contains the attribute, or null.
valueon return, contains the value, or null.

Returns

false if the end of the parameters has been reached or an error was

encountered. true otherwise.

Throws

[ErrorWrap]