JSONRPCResponse

mcp.schema.JSONRPCResponse
See theJSONRPCResponse companion trait

Attributes

Companion
trait
Source
JSONRPCResponse.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Error(jsonrpc: String, id: RequestId, code: Int, message: String, data: Option[Json]) extends JSONRPCResponse

Attributes

Companion
object
Source
JSONRPCResponse.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Error

Attributes

Companion
class
Source
JSONRPCResponse.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Error.type
final case class Success(jsonrpc: String, id: RequestId, result: Json) extends JSONRPCResponse

Attributes

Companion
object
Source
JSONRPCResponse.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Success

Attributes

Companion
class
Source
JSONRPCResponse.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Success.type

Value members

Concrete methods

def failure(id: RequestId, code: Int, message: String, data: Option[Json]): JSONRPCResponse

Attributes

Source
JSONRPCResponse.scala
def success(id: RequestId, result: Json): JSONRPCResponse

Attributes

Source
JSONRPCResponse.scala