!str #17189 Add withAttributes and named to Graph

* Remove optional attributes parameter in favor of withAttributes
* Overload explosion when trying to add attributes to ZipWith.
* Aligned with Flow and Source.
This commit is contained in:
Patrik Nordwall 2015-04-14 08:59:37 +02:00
parent c98aee55ed
commit c6404d3e44
24 changed files with 296 additions and 212 deletions

View file

@ -88,7 +88,7 @@ private[http] object HttpServerBluePrint {
(requestParsing, renderer)
import FlowGraph.Implicits._
val bypassFanout = b.add(Broadcast[RequestOutput](2, OperationAttributes.name("bypassFanout")))
val bypassFanout = b.add(Broadcast[RequestOutput](2).named("bypassFanout"))
val bypassMerge = b.add(new BypassMerge(settings, log))
val bypassInput = bypassMerge.in0
val bypassOneHundredContinueInput = bypassMerge.in1