ResponseCodec

oxygen.http.core.ResponseCodec
See theResponseCodec companion object
final case class ResponseCodec[A](statusCodes: StatusCodes[A], codec: ResponseCodecNoStatus[A])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def canLikelyDecode(status: Status): Boolean
def decode(headers: Headers, body: Body): ZIO[Scope, ResponseDecodingFailure, A]
def encode(value: A): (Status, Headers, Body)
def unsafeBuild(apiName: String, endpointName: String): ResponseSchema

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product