object Response

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Response
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Error(error: ErrorObject, id: RequestId, jsonrpc: String = "2.0", headers: Map[String, String] = Map.empty) extends RuntimeException with Response with Product with Serializable
  2. final case class Success(result: RawJson, id: RequestId, jsonrpc: String = "2.0", headers: Map[String, String] = Map.empty) extends Response with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cancelled(id: RequestId): Error
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def error(error: ErrorObject, id: RequestId): Error
  10. implicit val errorCodec: JsonValueCodec[Error]
  11. def errorToMsg(id: RequestId, error: ErrorObject, headers: Map[String, String]): String
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def internalError(message: String, id: RequestId): Error
  16. def internalError(message: String): Error
  17. def internalError(err: Throwable, id: RequestId): Error
  18. def invalidParams(message: String, id: RequestId): Error
  19. def invalidParams(message: String): Error
  20. def invalidRequest(message: String): Error
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def methodNotFound(message: String, id: RequestId): Error
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def ok(result: RawJson, id: RequestId): Response
  27. def okAsync[T](value: T): Task[Either[Error, T]]
  28. def parseError(message: String): Error
  29. implicit val responseCodec: JsonValueCodec[Response]
  30. def success(result: RawJson, id: RequestId): Response
  31. implicit val successCodec: JsonValueCodec[Success]
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. case object None extends Response with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped