HeaderFormat

zio.http.schema.HeaderFormat
abstract class HeaderFormat[TC <: (HeaderCodec)](val mimeType: String, val deriver: Deriver[TC])

Base class for HTTP header serialization formats. Pairs a MIME type with a zio.blocks.schema.derive.Deriver that can derive HeaderCodec instances for arbitrary schema-described types.

Attributes

Source
HeaderFormat.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete fields

val deriver: Deriver[TC]

Attributes

Source
HeaderFormat.scala
val mimeType: String

Attributes

Source
HeaderFormat.scala

Implicits

Implicits

final implicit def derivable: Derivable[this.type, TC]

Attributes

Source
HeaderFormat.scala