
nsIRequestObserver
This interface defines an observer of the request cycle. It is scriptable.
Called to signify the beginning of an asynchronous request.
Syntax:
void nsIRequestObserver::onStartRequest( in nsIRequest aRequest,in nsISupports aContext)Parameters:
nsresult:
Note: An exception thrown from
onStartRequesthas the side-effect of causing the request to be canceled.Called to signify the end of an asynchronous request.This call is always preceded by a call to
onStartRequest.Syntax:
void nsIRequestObserver::onStopRequest( in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatusCode)Parameters:
nsresult:
Note: An exception thrown from
onStopRequestis generally ignored.
| Written by:Ellen Evans | Comments, questions, complaints?
Bug 143387 |