JSONRPCResponseBuilder
DSL builder for JSONRPCResponse.
Example usage:
val response = jsonRPCResponse {
id = myRequestId
result = myResult
}Content copied to clipboard
Properties
Functions
Link copied to clipboard
Builds a JSONRPCResponse instance with the configured parameters.
Link copied to clipboard
Sets the error.
Link copied to clipboard
Sets the ID of the response.
Link copied to clipboard
Sets the result.