MessageHeadersIter

An opaque type used to iterate over a %SoupMessageHeaders structure.

After intializing the iterator with soup_message_headers_iter_init(), call soup_message_headers_iter_next() to fetch data from it.

You may not modify the headers while iterating over them.

Constructors

this
this(SoupMessageHeadersIter* soupMessageHeadersIter, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getMessageHeadersIterStruct
SoupMessageHeadersIter* getMessageHeadersIterStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

next
bool next(string name, string value)

Yields the next name/value pair in the %SoupMessageHeaders being iterated by @iter. If @iter has already yielded the last header, then soup_message_headers_iter_next() will return %FALSE and @name and @value will be unchanged.

Static functions

init
void init(MessageHeadersIter iter, MessageHeaders hdrs)

Initializes @iter for iterating @hdrs.

Variables

ownedRef
bool ownedRef;
Undocumented in source.
soupMessageHeadersIter
SoupMessageHeadersIter* soupMessageHeadersIter;

the main Gtk struct

Meta