JsonRpcResponse

grapple.json.rpc.JsonRpcResponse
See theJsonRpcResponse companion trait

Provides JSON-RPC response factory.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(version: String, id: JsonRpcIdentifier, result: JsonValue): JsonRpcResponse

Creates JSON-RPC response with result.

Creates JSON-RPC response with result.

Value parameters

id

message identifier

result

result

version

JSON-RPC version

Attributes

def apply(version: String, id: JsonRpcIdentifier, error: JsonRpcError): JsonRpcResponse

Creates JSON-RPC response with error.

Creates JSON-RPC response with error.

Value parameters

error

error

id

message identifier

version

JSON-RPC version

Attributes