Hi,
I want to use the WebSocketDirectives in Java.
Is it intended that handleWebSocketMessages needs an handler of typ
Flow[Message,
Message, T],
but handleWebSocketMessagesForProtocol an hander of typ Flow[Message, Message,
Any]?
Because of that I can not use handleWebSocketMessagesForProtocol, because of an
CompilerError:
Error:(49, 71) java: incompatible types:
akka.stream.javadsl.Flow<akka.http.javadsl.model.ws.Message,akka.http.javadsl.model.ws.Message,akka.NotUsed>
cannot be converted to
akka.stream.javadsl.Flow<akka.http.javadsl.model.ws.Message,akka.http.javadsl.model.ws.Message,java.lang.Object>
Thanks for your help!
--
>>>>>>>>>> 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.