Hi, André

Thanks for the quick response.

Actually I'm trying to do some prototyping to see how hard to migrate my 
spray application into akka-http.

Here're my case:

I have a facade Actor binding with Spray Http:

IO(Http) ! Http.Bind(facadeActorRef, interface, port, settings = 
Option(settings))

Within that facade actor, I will dispatch HttpRequest to some other biz 
Actors(like by uri), and some of the biz actors might return chunked 
response. 

I'm not familiar with akka-stream, but I guess I should provide some 
certain Flow to do the dispatching logic, right? 

And can I reuse my biz actors as much as possible like adapting them into 
some akka-stream's artifact (Source?)



Really appreciate your help!

Thanks
Leon




在 2015年8月25日星期二 UTC-7上午12:49:00,André写道:
>
> Hi Leon,
>
> please see the discussion re. chunking here 
> <https://github.com/akka/akka/pull/18144>.
>
> What's your use case?
>
> Cheers,
> André
>
> On Tuesday, August 25, 2015 at 9:21:46 AM UTC+2, Leon Ma wrote:
>>
>> Hi,
>>
>> I have some general questions about akka-http:
>>
>> 1. Is there any concrete samples that illustrate how to return chunked 
>> response with akka-http?
>> 2. Does Route/Directives (high-level api) supports chunked response?
>>
>>
>> Thanks
>> Leon
>>
>>
>>
>>

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to