object Response
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Response
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- 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
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cancelled(id: RequestId): Error
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def error(error: ErrorObject, id: RequestId): Error
- implicit val errorCodec: JsonValueCodec[Error]
- def errorToMsg(id: RequestId, error: ErrorObject, headers: Map[String, String]): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def internalError(message: String, id: RequestId): Error
- def internalError(message: String): Error
- def internalError(err: Throwable, id: RequestId): Error
- def invalidParams(message: String, id: RequestId): Error
- def invalidParams(message: String): Error
- def invalidRequest(message: String): Error
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def methodNotFound(message: String, id: RequestId): Error
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def ok(result: RawJson, id: RequestId): Response
- def okAsync[T](value: T): Task[Either[Error, T]]
- def parseError(message: String): Error
- implicit val responseCodec: JsonValueCodec[Response]
- def success(result: RawJson, id: RequestId): Response
- implicit val successCodec: JsonValueCodec[Success]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object None extends Response with Product with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated