Back to index

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

nsIRequestObserver More...

import "nsIRequestObserver.idl";

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

List of all members.

Public Member Functions

void onStartRequest (in nsIRequest aRequest, in nsISupports aContext)
 Called to signify the beginning of an asynchronous request.
void onStopRequest (in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatusCode)
 Called to signify the end of an asynchronous request.

Detailed Description

nsIRequestObserver

FROZEN

Definition at line 48 of file nsIRequestObserver.idl.


Member Function Documentation

void nsIRequestObserver::onStartRequest ( in nsIRequest  aRequest,
in nsISupports  aContext 
)

Called to signify the beginning of an asynchronous request.

Parameters:
aRequestrequest being observed
aContextuser defined context

An exception thrown from onStartRequest has the side-effect of causing the request to be canceled.

Here is the caller graph for this function:

void nsIRequestObserver::onStopRequest ( in nsIRequest  aRequest,
in nsISupports  aContext,
in nsresult  aStatusCode 
)

Called to signify the end of an asynchronous request.

This call is always preceded by a call to onStartRequest.

Parameters:
aRequestrequest being observed
aContextuser defined context
aStatusCodereason for stopping (NS_OK if completed successfully)

An exception thrown from onStopRequest is generally ignored.

Here is the caller graph for this function:


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