JsonRpcRequest

grapple.json.rpc.JsonRpcRequest
See theJsonRpcRequest companion trait

Provides JSON-RPC request 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, method: String, params: Option[JsonValue]): JsonRpcRequest

Creates JSON-RPC request as notification – that is, without identifier.

Creates JSON-RPC request as notification – that is, without identifier.

Value parameters

method

method name

params

optional method params

version

JSON-RPC version

Attributes

def apply(version: String, id: JsonRpcIdentifier, method: String, params: Option[JsonValue]): JsonRpcRequest

Creates JSON-RPC request.

Creates JSON-RPC request.

Value parameters

id

message identifier

method

method name

params

optional method params

version

JSON-RPC version

Attributes