The nsIHTTPHeaderListener interface allows plugin authors to access HTTP Response headers after issuing an nsIPluginHost::{GetURL,PostURL}() call. More...
import "nsIHTTPHeaderListener.idl";
Public Member Functions | |
void | newResponseHeader (in string headerName, in string headerValue) |
Called for each HTTP Response header. | |
void | statusLine (in string line) |
Called once for the HTTP Response status line. |
The nsIHTTPHeaderListener interface allows plugin authors to access HTTP Response headers after issuing an nsIPluginHost::{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.
void nsIHTTPHeaderListener::newResponseHeader | ( | in string | headerName, | |
in string | headerValue | |||
) |
Called for each HTTP Response header.
NOTE: You must copy the values of the params.
void nsIHTTPHeaderListener::statusLine | ( | in string | line | ) |
Called once for the HTTP Response status line.
Value does NOT include a terminating newline. NOTE: You must copy this value.