HttpCodec

zio.blocks.endpoint.HttpCodec
See theHttpCodec companion object
sealed trait HttpCodec[+K <: CodecKind, A]

Composable typed descriptor for HTTP request/response parts.

Most nodes are plain data carrying schemas plus endpoint metadata directly on the atom (doc, examples, deprecated) instead of wrapping in extra annotation layers. Typed header and auth helpers reuse Schema.transform so the descriptor can keep exposing Schema[A] for parsed header values without introducing dedicated interpreter-only AST nodes.

Attributes

Companion
object
Source
HttpCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Body[K, A]
class Combine[K, A, B, C]
object Empty
class Fallback[K, A, B, C]
class Header[K, A]
class Query[A]
class StatusCodec
Show all
Self type
HttpCodec[K, A]

Members list

Value members

Concrete methods

def ++[B, C](that: HttpCodec[K, B])(implicit combiner: WithOut[A, B, C]): HttpCodec[K, C]

Attributes

Source
HttpCodec.scala
def |[B, C](that: HttpCodec[K, B])(implicit alternator: WithOut[A, B, C]): HttpCodec[K, C]

Attributes

Source
HttpCodec.scala