Empty

oxygen.http.core.BodyCodec.Empty
case object Empty extends BodyCodec[Unit]

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait BodyCodec[Unit]
class Object
trait Matchable
class Any
Show all
Self type
Empty.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Inherited and Abstract types

type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

override def decode(body: HttpBody): ZIO[Scope, Cause, Unit]

Attributes

Definition Classes
override def encode(value: Unit): HttpBody

Attributes

Definition Classes

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def transform[B](ab: Unit => B, ba: B => Unit): BodyCodec[B]

Attributes

Inherited from:
BodyCodec
def transformOrFail[B](ab: Unit => Either[String, B], ba: B => Unit): BodyCodec[B]

Attributes

Inherited from:
BodyCodec