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

贡献者指南