HttpRoutes

zhttp.HttpRoutes$
See theHttpRoutes companion class
object HttpRoutes

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class WebFilterProc[-Env](run: Request => ZIO[Env, Throwable, Response])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Types

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 OptionToOptionalZIOError[A, Env](oza: Option[ZIO[Env, Throwable, A]]): ZIO[Env, Option[Exception], A]
def defaultFilter(ft0: Request => ZIO[Any, Throwable, Response]): Unit
def defaultPostProc(proc: PostProc): Unit
def of[Env](pf: PartialFunction[Request, ZIO[Env, Throwable, Response]]): HttpRoutes[Env]
def ofWithFilter[Env](filter0: WebFilterProc[Env], postProc0: PostProc)(pf: PartialFunction[Request, ZIO[Env, Throwable, Response]]): HttpRoutes[Env]
def ofWithPostProc[Env](postProc: PostProc)(pf: PartialFunction[Request, ZIO[Env, Throwable, Response]]): HttpRoutes[Env]