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 MessageHeaders being iterated by this.

If this has already yielded the last header, then 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.