RouteMatcher

harness.http.server.RouteMatcher
See theRouteMatcher companion object
trait RouteMatcher[+O]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def routeInternal(method: HttpMethod, path: List[String]): Result[O]

Concrete methods

final def /[O2](other: RouteMatcher[O2])(implicit zip: Zippable[O, O2]): RouteMatcher[Out]
final def implement[R, DomainError, ApiError](f: O => ZIO[HarnessEnv & BuiltInRequestEnv & R, DomainError, Found])(implicit handler: ErrorHandler[DomainError, ApiError]): Route[R]
final def implementGenericError[R](f: O => RIO[HarnessEnv & BuiltInRequestEnv & R, Found]): Route[R]
final def map[O2](f: O => O2): RouteMatcher[O2]