glib.uri_params_iter
Module for [UriParamsIter] class
class UriParamsIter
Types 1
classUriParamsIter
Many URI schemes include one or more attribute/value pairs as part of the URI value. For example scheme://server/path?query=string&is=there has two attributes – query=string and is=there – in its query part.
A #GUriParamsIter structure represents an iterator that can be used to iterate over the attribute/value pairs of a URI query string. #GUriParamsIter structures are typically allocated on the stack and then initialized with [glib.uri_params_iter.UriParamsIter.init_]. See the documentation for [glib.uri_params_iter.UriParamsIter.init_] for a usage example.
Fields
GUriParamsIter _cInstanceMethods
void * _cPtr()void init_(string params, string separators, glib.types.UriParamsFlags flags)Initializes an attribute/value pair iterator.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...