RouteTestResult

org.apache.pekko.http.scaladsl.testkit.RouteTestResultComponent.RouteTestResult
class RouteTestResult(timeout: FiniteDuration)(implicit fm: Materializer)

A receptacle for the response or rejections created by a route.

Attributes

Source
RouteTestResultComponent.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Returns a "fresh" entity with a "fresh" unconsumed byte- or chunk stream (if not strict)

Returns a "fresh" entity with a "fresh" unconsumed byte- or chunk stream (if not strict)

Attributes

Source
RouteTestResultComponent.scala
def ~>[T](f: RouteTestResult => T): T

Attributes

Source
RouteTestResultComponent.scala