[email protected] wrote:
But in sync-mode (Open, not AsyncOpen), the open function really "generates" a stream. prototype: nsIChannel::Open(nsIInputStream **aStream)
Yes, true. The channel doesn't hold on to that stream.
I am not sure whether I can "do_QueryInterface" the aRequest param (type: nsIRequest) of OnStateChange in nsIWebProgressListener and obtain this interface
You can. Sometimes you'll get it, sometimes not. In fact, I think only HTTP implements that interface at the moment.
-Boris _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
