Empty

zio.http.api.internal.BodyCodec$.Empty$
case object Empty

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
Empty.type

Members list

Concise view

Type members

Types

type Element = Unit

The element type, described by the schema. This could be the type of the whole request, if it's an RPC-style request with a single, relatively small body, or it could be the type of a single element in a stream.

The element type, described by the schema. This could be the type of the whole request, if it's an RPC-style request with a single, relatively small body, or it could be the type of a single element in a stream.

Attributes

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
Singleton

The name of the type

The name of the type

Attributes

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

The mirrored *-type

The mirrored *-type

Attributes

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

Attributes

Inherited from:
Singleton

Value members

Concrete methods

Attempts to decode the A from a body using the given codec.

Attempts to decode the A from a body using the given codec.

Attributes

def encodeToBody(value: Unit, codec: BinaryCodec[Unit]): Body

Encodes the A to a body in the given codec.

Encodes the A to a body in the given codec.

Attributes

The schema associated with the element type.

The schema associated with the element type.

Attributes

Inherited methods

final def erase: BodyCodec[Any]

Erases the type for easier use in the internal implementation.

Erases the type for easier use in the internal implementation.

Attributes

Inherited from:
BodyCodec (hidden)

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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product