akka/akka-http

Use splitAfter in Websocket.scala

Aperta

#96 aperta il 8 set 2016

 (2 commenti) (0 reazioni) (0 assegnatari)Scala (598 fork)batch import
1 - triagedhelp wantedsmallt:server

Metriche repository

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

Descrizione

Issue by ktoso Monday Jan 04, 2016 at 20:10 GMT Originally opened as https://github.com/akka/akka/issues/19348


As commented there it should simplify the flows a bit:

.splitWhen(_.isMessageEnd) // FIXME using splitAfter from #16885 would simplify protocol a lot

https://github.com/spray/akka/commit/6980a0ba61291cb71064267c1b7864de96ddd01a#diff-32111086a8e0b3bf2b812bda44d7c0a1R116

Guida contributor