JSONRPCResponse
class JSONRPCResponse(val id: RequestId, val jsonrpc: String = JSONRPC_VERSION, val result: RequestResult? = null, val error: JSONRPCError? = null) : JSONRPCMessage(source)
A successful (non-error) response to a request.
Constructors
Link copied to clipboard
constructor(id: RequestId, jsonrpc: String = JSONRPC_VERSION, result: RequestResult? = null, error: JSONRPCError? = null)
Properties
Functions
Link copied to clipboard
fun copy(id: RequestId = this.id, jsonrpc: String = this.jsonrpc, result: RequestResult? = this.result, error: JSONRPCError? = this.error): JSONRPCResponse