Fork me on GitHub
#yada
<
2016-07-02
>
frozenlock04:07:35

Is there a way to make yada fetch data from an API an immediately start sending it to a client without having to wait for the download to complete?

frozenlock04:07:54

Something like : (yada API1) -----> (yada API2) -----> Client

frozenlock04:07:12

Where API2 is sending the data as fast as it's receiving it.

mccraigmccraig08:07:24

@frozenlock: have a look at the aleph http client option :raw-stream? http://aleph.io/examples/literate.html#aleph.examples.http ... you should be able to put the content of the ByteBufs onto a aleph/manifold response stream

frozenlock08:07:37

mccraigmccraig: will take a look, thanks!