There is a great talk from Scala World 2015 where Mathias Doenitz and 
Johannes Rudolph explain how to build a log parser.
youtube: *https://youtu.be/6VBn9V3S2aQ *
github: *https://github.com/jrudolph/scala-world-2015 *

also look at Johannes Rudolph's repo for websocket chat:
github: *https://github.com/jrudolph/akka-http-scala-js-websocket-chat*

in particular, the service Class which has a clear example of routing and 
Flow.
*https://github.com/jrudolph/akka-http-scala-js-websocket-chat/blob/master/backend/src/main/scala/example/akkawschat/Webservice.scala*

I hope these links help,
Emran

On Saturday, June 4, 2016 at 5:36:58 AM UTC-4, 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