akka/akka-http

Lack of ws.Message (un)marshaller

Aperta

#2256 aperta il 14 ott 2018

 (1 commento) (1 reazione) (0 assegnatari)Scala (598 fork)batch import
1 - triagedhelp wantedt:marshallingt:websocket

Metriche repository

Star
 (1311 stelle)
Metriche merge PR
 (Merge medio 1g 10h) (2 PR mergiate in 30 g)

Descrizione

I'd like to hear opinions on the standard inclusion of a FromWSMessageUnmarshaller for ws.Message. This would reduce standard boilerplate when dealing with web sockets. I'd even go as far as suggest that implementations for JSON and XML be included. Whenever I'm dealing with web sockets, most, if not all, communication is done using a JSON transport. I've got the implementations mostly ready, so I can produce a PR if necessary.

Guida contributor