JSONRPCRequest
data class JSONRPCRequest(val id: RequestId = RequestId.NumberId(REQUEST_MESSAGE_ID.incrementAndFetch()), val method: String, val params: JsonElement = EmptyJsonObject, val jsonrpc: String = JSONRPC_VERSION) : JSONRPCMessage(source)
A request that expects a response.
Constructors
Link copied to clipboard
constructor(id: RequestId = RequestId.NumberId(REQUEST_MESSAGE_ID.incrementAndFetch()), method: String, params: JsonElement = EmptyJsonObject, jsonrpc: String = JSONRPC_VERSION)