pub unsafe extern "C" fn aws_uri_query_string_next_param(
uri: *const aws_uri,
param: *mut aws_uri_param
) -> bool
Expand description
For iterating over the params in the uri query string.
param
is an in/out argument used to track progress, it MUST be zeroed out to start.
If true is returned, param
contains the value of the next param.
If false is returned, there are no further params.
Edge cases:
-
Entries without ‘=’ sign are treated as having a key and no value. Example: First param in query string “a&b=c” has key=“a” value=“”
-
Blank entries are skipped. Example: The only param in query string “&&a=b” is key=“a” value=“b”