Alternator

zio.http.codec.Alternator
See theAlternator companion object
sealed trait Alternator[L, R]

A alternator is a type class responsible for combining invariant type parameters using an either. It is used to compose parameters of the zio.http.codec.HttpCodec data type.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type Out

Value members

Abstract methods

def left(l: L): Out
def right(r: R): Out
def unleft(out: Out): Option[L]
def unright(out: Out): Option[R]