Packages

t

org.http4s

EntityEncoderInstances0

trait EntityEncoderInstances0 extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EntityEncoderInstances0
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def emptyEncoder[F[_], A]: EntityEncoder[F, A]
  2. def showEncoder[F[_], A](implicit charset: Charset = DefaultCharset, show: Show[A]): EntityEncoder[F, A]

    Encodes a value from its Show instance.

    Encodes a value from its Show instance. Too broad to be implicit, too useful to not exist.

  3. implicit def streamEncoder[F[_], A](implicit W: EntityEncoder[F, A]): EntityEncoder[F, Stream[F, A]]

    A stream encoder is intended for streaming, and does not calculate its bodies in advance.

    A stream encoder is intended for streaming, and does not calculate its bodies in advance. As such, it does not calculate the Content-Length in advance. This is for use with chunked transfer encoding.