Alternator

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

An 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
Source
Alternator.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type Out

Attributes

Source
Alternator.scala

Value members

Abstract methods

def left(l: L): Out

Attributes

Source
Alternator.scala
def right(r: R): Out

Attributes

Source
Alternator.scala
def unleft(out: Out): Option[L]

Attributes

Source
Alternator.scala
def unright(out: Out): Option[R]

Attributes

Source
Alternator.scala

Concrete methods

Attributes

Source
Alternator.scala