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. All

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( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): 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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def internalError(message: String, id: RequestId): Error
  15. def internalError(message: String): Error
  16. def internalError(err: Throwable, id: RequestId): Error
  17. def invalidParams(message: String, id: RequestId): Error
  18. def invalidParams(message: String): Error
  19. def invalidRequest(message: String): Error
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def methodNotFound(message: String, id: RequestId): Error
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def ok(result: RawJson, id: RequestId): Response
  26. def okAsync[T](value: T): Task[Either[Error, T]]
  27. def parseError(message: String): Error
  28. implicit val responseCodec: JsonValueCodec[Response]
  29. def success(result: RawJson, id: RequestId): Response
  30. implicit val successCodec: JsonValueCodec[Success]
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. object None extends Response with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped