A receptacle for the response or rejections created by a route.
A receptacle for the response or rejections created by a route.
Override to supply a custom ActorSystem
Override to supply a custom ActorSystem
Asserts that the received response is a WebSocket upgrade response and the extracts the chosen subprotocol and passes it to the handler.
Asserts that the received response is a WebSocket upgrade response and the extracts the chosen subprotocol and passes it to the handler.
A dummy that can be used as ~> runRoute
to run the route but without blocking for the result.
A dummy that can be used as ~> runRoute
to run the route but without blocking for the result.
The result of the pipeline is the result that can later be checked with check
. See the
"separate running route from checking" example from ScalatestRouteTestSpec.scala.
(specs2RouteTest: client.RequestBuilding.WithTransformation[Specs2RouteTest]).~>(f)
(specs2RouteTest: client.TransformerPipelineSupport.WithTransformation[Specs2RouteTest]).~>(f)