WebSockets should use standard marshallers via TextMessage #281
Labels
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
help wanted
Identifies issues that the core team will likely not have time to work on
t:websocket
Issue by fommil
Sunday Jul 12, 2015 at 11:36 GMT
Originally opened as akka/akka#17969
When using the new
handleWebsocketMessages
it is probably pretty reasonable to expect that the same marshallers will be used here as in the REST API (and at least the user could provide an implicitToResponseMarshallable
in the scope). However,handleWebsocketMessages
expects aFlow[Message, Message, _]
which demands that users manually implement the marshalling.This results in this level of boilerplate:
The text was updated successfully, but these errors were encountered: