ProtocolStack

zio.http.ProtocolStack
See theProtocolStack companion trait
object ProtocolStack

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final class CondBuilder[IncomingIn](val predicate: IncomingIn => Boolean) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final class CondZIOBuilder[IncomingIn](val dummy: Unit) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final class CondZIOBuilder1[Env, IncomingIn, Err](val predicate: IncomingIn => ZIO[Env, Err, Boolean]) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

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 cond[IncomingIn](predicate: IncomingIn => Boolean): CondBuilder[IncomingIn]
def condZIO[IncomingIn]: CondZIOBuilder[IncomingIn]
def fail[Incoming, OutgoingOut](out: OutgoingOut): ProtocolStack[Any, Incoming, Incoming, OutgoingOut, OutgoingOut]
def failWith[Incoming, OutgoingOut](f: Incoming => OutgoingOut)(implicit trace: Trace): ProtocolStack[Any, Incoming, Incoming, OutgoingOut, OutgoingOut]
def identity[I, O]: ProtocolStack[Any, I, I, O, O]
def interceptHandler[Env, IncomingIn, IncomingOut, OutgoingIn, OutgoingOut](incoming0: Handler[Env, OutgoingOut, IncomingIn, IncomingOut])(outgoing0: Handler[Env, Nothing, OutgoingIn, OutgoingOut])(implicit trace: Trace): ProtocolStack[Env, IncomingIn, IncomingOut, OutgoingIn, OutgoingOut]
def interceptHandlerStateful[Env, State0, IncomingIn, IncomingOut, OutgoingIn, OutgoingOut](incoming0: Handler[Env, OutgoingOut, IncomingIn, (State0, IncomingOut)])(outgoing0: Handler[Env, Nothing, (State0, OutgoingIn), OutgoingOut]): ProtocolStack[Env, IncomingIn, IncomingOut, OutgoingIn, OutgoingOut]
def interceptIncomingHandler[Env, IncomingIn, IncomingOut, Outgoing](handler: Handler[Env, Outgoing, IncomingIn, IncomingOut]): ProtocolStack[Env, IncomingIn, IncomingOut, Outgoing, Outgoing]
def interceptOutgoingHandler[Env, Incoming, OutgoingIn, OutgoingOut](handler: Handler[Env, Nothing, OutgoingIn, OutgoingOut]): ProtocolStack[Env, Incoming, Incoming, OutgoingIn, OutgoingOut]