HttpMediaTyped

smithy4s.http.HttpMediaTyped
See theHttpMediaTyped companion object
final case class HttpMediaTyped[F[_], A](mediaType: HttpMediaType, instance: F[A])

A class representing some kind of codec accompanied with a media type.

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 contramap[B](f: B => A)(implicit C: Contravariant[F]): HttpMediaTyped[F, B]
def map[B](f: A => B)(implicit C: Covariant[F]): HttpMediaTyped[F, B]
def mapInstance[G[_], B](f: F[A] => G[B]): HttpMediaTyped[G, B]
def mapK[G[_]](fk: PolyFunction[F, G]): HttpMediaTyped[G, A]

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product