akka/akka-http

Use splitAfter in Websocket.scala

開放

#96 建立於 2016年9月8日

 (2 則留言) (0 個反應) (0 位負責人)Scala (598 個分叉)batch import
1 - triagedhelp wantedsmallt:server

倉庫指標

星標
 (1,311 顆星)
PR 合併指標
 (平均合併 1天 10小時) (30 天內合併 2 個 PR)

描述

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

貢獻者指南