Isn't that just simply:

requests.via(outgoingHttpConnection).flatMapConcat { resp =>
   resp.dataBytes
}

?

On Tue, Sep 20, 2016 at 4:42 PM, Victor <victor.pi...@iadvize.com> wrote:

> Sorry for the spam. To make it simple, what I really want to achieve is to
> have a continuous flow of ByteString from an unique HTTP connection.
> HttpRequest in, ByteString out, not multiple HttpResponse with each their
> sub-source.
>
>
> Le mardi 20 septembre 2016 16:30:24 UTC+2, Victor a écrit :
>>
>> Thanks for your response. I don't see where alsoTo can help me here? I
>> think what I want to achieve here is to join a graph with the graph
>> obtained by materializing the MergeHub.
>>
>> Le mardi 20 septembre 2016 15:02:39 UTC+2, √ a écrit :
>>>
>>> Hi,
>>>
>>> Flow[T].alsoTo(sink)?
>>>
>>> --
>>> Cheers,
>>> √
>>>
>>> On Sep 20, 2016 2:30 PM, "Victor" <victor...@iadvize.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Is it possible to create a Source from a Sink ?
>>>>
>>>> I want every element received in the Sink to be emitted from the Source.
>>>>
>>>> I have to do that because I use a MergeHub and a feedback loop.
>>>>
>>>> Thank you,
>>>> Victor
>>>>
>>>> --
>>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/c
>>>> urrent/additional/faq.html
>>>> >>>>>>>>>> Search the archives: https://groups.google.com/grou
>>>> p/akka-user
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Akka User List" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to akka-user+...@googlegroups.com.
>>>> To post to this group, send email to akka...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/akka-user.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to