next


Description:

public static bool next (ref MessageHeadersIter iter, out unowned string name, out unowned string value)

Yields the next name/value pair in the [struct@MessageHeaders] being iterated by this.

If this has already yielded the last header, then [method@MessageHeadersIter.next] will return false and name and value will be unchanged.

Parameters:

iter

a soupmessageheadersiter

name

pointer to a variable to return the header name in

value

pointer to a variable to return the header value in

Returns:

true if another name and value were returned, false if the end of the headers has been reached.