I think you might be looking for something like this:
https://github.com/playframework/playframework/blob/master/framework/src/play-streams/src/main/scala/play/api/libs/streams/ActorFlow.scala

On Saturday, June 4, 2016 at 2:36:58 AM UTC-7, Marcelo Alves wrote:
>
> Hello,
>    I'm noob on Scala and Akka development. So, I need to implement a 
> websocket client communication and my dificuty are on outgoing messages. I 
> dont really know how to do that using akka ws-client support. My flow:
>
> val flow: Flow[Message, Message, Promise[Option[Message]]] =
>   Flow.fromSinkAndSourceMat(
>     sink,
>     Source.maybe[Message])(Keep.right)
>
>  
>   Sink are ok! I can receive all message but now I need to implement the 
> outgoing message, anyone can help me on that ?
>
>
> Thanks!!
>
>  
>

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to