FreeWRL/FreeX3D
3.0.0
|
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. More... | |
void | statusLine (in string line) |
Called once for the HTTP Response status line. More... | |
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.
Definition at line 55 of file nsIHTTPHeaderListener.idl.
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.