Michel Gutierrez wrote:
ok, i catch that. however, given a channel, as i need a nsIInputStream
to access the data, the only way i see to get this stream is through the
open function. i don't see a getInputStream-like method in nsIChannel.
how am i supposed to get this input stream ?

asyncOpen, and then the stream is passed to your onDataAvailable whenever data comes in is what I'd go with.

-Boris
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to