Routes

zio.http.Routes
See theRoutes companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
Routes.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[Env, Err](route: Route[Env, Err], routes: Route[Env, Err]*): Routes[Env, Err]
def fromIterable[Env, Err](routes: Iterable[Route[Env, Err]]): Routes[Env, Err]
def singleton[Env, Err](h: Handler[Env, Err, (Path, Request), Response])(implicit trace: Trace): Routes[Env, Err]

Concrete fields

val empty: Routes[Any, Nothing]

An HTTP application that does not handle any routes.

An HTTP application that does not handle any routes.

Attributes