akka/akka-http

Use splitAfter in Websocket.scala

Offen

#96 geöffnet am 08.09.2016

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Scala (598 Forks)batch import
1 - triagedhelp wantedsmallt:server

Repository-Metriken

Stars
 (1.311 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 10h) (2 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide