You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.


TOC PREV NEXT INDEX

Embedding Gecko API


nsIHttpHeaderVisitor


This interface provides a mechanism for visiting HTTP headers. It is scriptable.

Methods
visitHeader

Is called by the nsIHttpChannel implementation when visiting request and response headers.

Syntax:

void nsIHttpHeaderVisitor::visitHeader(
	in ACString aHeader, in ACString aValue) 

Parameters:

aHeader: The header to visit.
aValue: The header value (possibly a comma delimited list).

Note: Throw any exception to terminate enumeration.

nsresult:

NS_OK if successful.

Written by:Ellen Evans | Comments, questions, complaints? Bug 143387
TOC PREV NEXT INDEX