ResponseCodec

oxygen.http.core.ResponseCodec
See theResponseCodec companion trait
object ResponseCodec

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class FirstOf[A](cases: NonEmptyList[Standard[_ <: A]]) extends ResponseCodec[A]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ResponseCodec[A]
class Object
trait Matchable
class Any
Show all
object FirstOf

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
FirstOf.type
final case class Standard[A](statusCodes: StatusCodes[A], codec: ResponseCodecNoStatus[A]) extends ResponseCodec[A]

Attributes

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

Value members

Concrete methods

def firstOf[A](c0: Builder1[A] => Standard[_ <: A], cN: Builder1[A] => Standard[_ <: A]*): ResponseCodec[A]

Givens

Givens

given nothing: ResponseCodec[Nothing]