Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIHTTPHeaderListener Interface Reference

The nsIHTTPHeaderListener interface allows plugin authors to access HTTP Response headers after issuing an nsIPluginManager::{GetURL,PostURL}() call. More...

import "nsIHTTPHeaderListener.idl";

Inheritance diagram for nsIHTTPHeaderListener:
Inheritance graph
[legend]
Collaboration diagram for nsIHTTPHeaderListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void newResponseHeader (in string headerName, in string headerValue)
 Called for each HTTP Response header.

Detailed Description

The nsIHTTPHeaderListener interface allows plugin authors to access HTTP Response headers after issuing an nsIPluginManager::{GetURL,PostURL}() call.

IMPORTANT NOTE: The plugin author must provide an instance to {GetURL,PostURL}() that implements both nsIPluginStreamListener and nsIHTTPHeaderListener. This instance is passed in through {GetURL,PostURL}()'s streamListener parameter. The browser will then QI thi streamListener to see if it implements nsIHTTPHeaderListener.

Definition at line 55 of file nsIHTTPHeaderListener.idl.


Member Function Documentation

void nsIHTTPHeaderListener::newResponseHeader ( in string  headerName,
in string  headerValue 
)

Called for each HTTP Response header.

NOTE: You must copy the values of the params.


The documentation for this interface was generated from the following file: