Skip to content

RequestMessage

[Source]

class val RequestMessage is
  Message ref

Implements


Constructors

create

[Source]

new val create(
  id': (I64 val | String val),
  method': String val,
  params': (JsonObject val | JsonArray val | None val) = reference)
: RequestMessage val^

Parameters

Returns


Public fields

let id: (I64 val | String val)

[Source]


let method: String val

[Source]


let params: (JsonObject val | JsonArray val | None val)

[Source]


Public Functions

json

[Source]

fun box json()
: JsonObject val

Returns


string

[Source]

fun box string()
: String iso^

Returns