Trait/Object

agora.rest

RestConversionImplicits

Related Docs: object RestConversionImplicits | package rest

Permalink

trait RestConversionImplicits extends FailFastCirceSupport

Contains implicits for creating AsClient instances

In an implicit ClientConfig is in scope, then we can know how to connect to workers from Dispatch responses and so can provide an AsClient instance.

Furthermore, if the right marshallers/unmarshallers are in scope, then we can further refine the requests/responses to more specific types

Linear Supertypes
FailFastCirceSupport, FailFastUnmarshaller, BaseCirceSupport, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RestConversionImplicits
  2. FailFastCirceSupport
  3. FailFastUnmarshaller
  4. BaseCirceSupport
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class RichHttpClient[A] extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def asConfigOps(implicit conf: ClientConfig): ClientConfigOps

    Permalink
  5. implicit def asInferredClient[A, B](implicit conf: ClientConfig, mat: Materializer, tem: ToEntityMarshaller[A], fem: FromEntityUnmarshaller[B]): AsClient[A, B]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. implicit def asMarshalledClient[T](implicit arg0: ToEntityMarshaller[T], conf: ClientConfig): AsClient[T, HttpResponse]

    Permalink
  8. implicit def asRichAsClientHttpResponse[A](implicit asClient: AsClient[A, HttpResponse]): AsClientOps[A]

    Permalink
  9. implicit def asWorkerClient(implicit conf: ClientConfig): AsClient[HttpRequest, HttpResponse]

    Permalink

    In an implicit ClientConfig is in scope, then we can know how to connect to workers from Dispatch responses and so can provide an AsClient instance

    In an implicit ClientConfig is in scope, then we can know how to connect to workers from Dispatch responses and so can provide an AsClient instance

    conf

    the client config

    returns

    an AsClient for generic http requests/responses

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. implicit final def jsonMarshaller(implicit printer: Printer): ToEntityMarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  18. implicit final val jsonUnmarshaller: FromEntityUnmarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  19. implicit final def marshaller[A](implicit arg0: Encoder[A], printer: Printer): ToEntityMarshaller[A]

    Permalink
    Definition Classes
    BaseCirceSupport
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]

    Permalink
    Definition Classes
    FailFastUnmarshaller
  26. def unmarshallerContentTypes: Seq[ContentTypeRange]

    Permalink
    Definition Classes
    BaseCirceSupport
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FailFastCirceSupport

Inherited from FailFastUnmarshaller

Inherited from BaseCirceSupport

Inherited from AnyRef

Inherited from Any

Ungrouped