RouteTestResult

pl.iterators.stir.testkit.RouteTestResultComponent.RouteTestResult
class RouteTestResult()

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

def entity(implicit runtime: IORuntime): EntityBody[IO]

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 response(implicit runtime: IORuntime): Response[IO]

Attributes

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

Attributes

Source
RouteTestResultComponent.scala