{"json_modified": "2016-03-28T08:10:33.013521", "uuid": "4456e2e6-bf3b-462d-b0c2-1fc25322a648", "title": "nsIStreamListener", "url": "/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/NsIStreamListener", "tags": ["XPCOM Interface Reference", "Interfaces:Scriptable", "XPCOM", "Interfaces"], "translations": [], "modified": "2014-04-14T10:44:31", "label": "nsIStreamListener", "localization_tags": [], "locale": "en-US", "id": 10995, "last_edit": "2014-04-14T10:44:30", "summary": "Classes which want to consume data from a nsIChannel
need to implement this interface. nsIRequestObserver
contains two methods. So, in all the three methods - onDataAvailable()
, nsIRequestObserver.onStartRequest()
and nsIRequestObserver.onStopRequest()
have to be implemented.", "sections": [{"id": "Method_overview", "title": "Method overview"}, {"id": "Methods", "title": "Methods"}, {"id": "onDataAvailable()", "title": "onDataAvailable()"}, {"id": "Parameters", "title": "Parameters"}], "slug": "Mozilla/Tech/XPCOM/Reference/Interface/NsIStreamListener", "review_tags": []}