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