+htc #17609 overloads to handle websocket requests with sink and source, removed materializer param

This commit is contained in:
Johannes Rudolph 2015-06-05 17:47:38 +02:00
parent 0018bc2cda
commit 9b0aa86f15
9 changed files with 84 additions and 28 deletions

View file

@ -40,7 +40,7 @@ class WebsocketDirectivesSpec extends RoutingSpec {
new InternalCustomHeader("UpgradeToWebsocketMock") with UpgradeToWebsocket {
def requestedProtocols: Seq[String] = Nil
def handleMessages(handlerFlow: Flow[Message, Message, Any], subprotocol: Option[String])(implicit mat: FlowMaterializer): HttpResponse =
def handleMessages(handlerFlow: Flow[Message, Message, Any], subprotocol: Option[String]): HttpResponse =
HttpResponse(StatusCodes.SwitchingProtocols)
}
}