Detecting nsIHttpChannel abort and how to use nsIRequestObserver

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Detecting nsIHttpChannel abort and how to use nsIRequestObserver

virafz
1> How to get event (Abort/Cancel) for an Http channel which is created
by the browser?

I get this http channel using NS_HTTP_ON_MODIFY_REQUEST_TOPIC
("http-on-modify-request")

I've noticed that there are cases when the channel are aborted, in
those cases
NS_HTTP_ON_EXAMINE_RESPONSE_TOPIC ("http-on-examine-response") is not
called.

2> How to detect that the channel is aborted?

3> How do subscribe event for nsIRequestObserver for a given
nsIHttpChannel?

Thanks,

_______________________________________________
Mozilla-netlib mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-netlib