Re: nsIChannel.Open is blocked in linux
[email protected] Tue, 7 Jan 2014 22:21:18 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.netlib |
|---|---|
| Message-ID | <[email protected]> |
I will try with AsynOpen. But i read somewhere that callbacks implementation is not possible in C++ and only in javascript, we are implementing this in C++ not in javascript so while implementing AsyncOpen i think we need streamObserver and for that we need to implement the callbacks. Correct me if i am wrong. Thanks in Advance. On Wednesday, January 8, 2014 11:35:26 AM UTC+5:30, Boris Zbarsky wrote: > On 1/8/14 1:01 AM, neel patel wrote: > > > But is there another way to implement open call ? > > > > Use AsyncOpen and not have to deal with the broken mess that is trying > > to do sync reads on fundamentally async resources? > > > > -Boris