title: Angular HttpClient stream
body: <p>I'm developing an Angular application for Cordova/iOS. I get about 100 MB of data from the backend services which seems to let iOS' web-view (WKWebView) crash. At least I don't experience crashes with the test-backend which returns less data.</p>
  
  <p>The data will be stored in IndexedDB, so there is no reason to fill the RAM with all this data.</p>
  
  <p>So my idea is to stream the response directly into IndexedDB. There are libraries available which can do this even with JSON, e.g. <a href="http://oboejs.com/" rel="noreferrer">Oboe.js</a> or <a href="https://www.npmjs.com/package/JSONStream" rel="noreferrer">JSONStream</a>.</p>
  
  <p>Angular's <code>HttpClient</code> returns the whole response in a big string or JSON object which is not what I want. Is there a way I can process the response incrementally similar to this: <a href="https://stackoverflow.com/a/18964123/395879">https://stackoverflow.com/a/18964123/395879</a></p>