nsIChannel
) to indicate the start and end of a request.
nsISupports
Last changed in Gecko 1.0 void onStartRequest(in nsIRequest aRequest, in nsISupports aContext); |
void onStopRequest(in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatusCode); |
Called to signify the beginning of an asynchronous request.
onStartRequest
has the side-effect of causing the request to be canceled.void onStartRequest( in nsIRequest aRequest, in nsISupports aContext );
aRequest
aContext
Called to signify the end of an asynchronous request. This call is always preceded by a call to onStartRequest()
.
onStopRequest
is generally ignored.void onStopRequest( in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatusCode );
aRequest
aContext
aStatusCode