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 iter.

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

Parameters:

iter

a MessageHeadersIter

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.