trait EntityEncoder[A] extends AnyRef

Simple encoder that encodes to a strict value.

Self Type
EntityEncoder[A]
Annotations
@implicitNotFound( ... )
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EntityEncoder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def encode(a: A): (Entity, HttpHeaders)

    Encode the body.

    Encode the body. Headers may be dependent on the body so they are returned at the same time to be added to the request.

Concrete Value Members

  1. def contramap[B](f: (B) ⇒ A): EntityEncoder[B]

    Create a new encoder from another encoder.