FromBodyCodec

oxygen.http.core.ResponseCodec.FromBodyCodec
final case class FromBodyCodec[A](bodyCodec: BodyCodec[A]) extends ResponseCodec[A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ResponseCodec[A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def decode(headers: Headers, body: HttpBody): ZIO[Scope, DecodingFailure, A]

Attributes

Definition Classes
override def encode(value: A): (Headers, HttpBody)

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product