+htc #17609 overloads to handle websocket requests with sink and source, removed materializer param
This commit is contained in:
parent
0018bc2cda
commit
9b0aa86f15
9 changed files with 84 additions and 28 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue