On Wed, Sep 22, 2004 at 03:34:09PM +0530, Srinivasa Raghavan wrote:
> I want to get the notification for 
> *nsIRequestObserver::OnStartRequest(...)* and 
> *nsIRequestObserver::OnStopRequest(...)*
> 
> I had implemented nsIStreamListener. What should i do to get the 
> notification to OnStartRequest and OnStopRequest ?

If you are creating the channel yourself, pass your listener to
asyncOpen. If you want to observe channels created elsewhere,
nsIStreamListener is not the way to go; you want to use
nsIWebProgressListener.

-- 
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to