Hi All,
I am using asynchronous socket I/O in
_javascript_. For that I am passing listener which has following
functions.
1. onStartRequest
2. onStopRequest
3. onDataAvailable(request, context,
inputStream, offset, count)
In onDataAvailable function I read the
data. For that I create first "nsIScriptableInputStream" by passing input stream
and then I read data.
var inStream =
Components.classes["@mozilla.org/scriptableinputstream;1"]
.createInstance(Components.interfaces.nsIScriptableInputStream); inStream.init(inputStream); inStream.read(count);
Problem: If server send data in gzip
or other format then how can I covert them into plain text??
Thanks,
Hitesh.
|
- Re: If data in gzip or other format Hitesh Khamesra
- Re: If data in gzip or other format Christian Biesinger
- Re: If data in gzip or other format Hitesh Khamesra
- Re: If data in gzip or other format Christian Biesinger
- Re: If data in gzip or other format Hitesh Khamesra
- Re: If data in gzip or other format Christian Biesinger
- Re: If data in gzip or other format Hitesh Khamesra