JSONRPCResponseBuilder

DSL builder for JSONRPCResponse.

Example usage:

val response = jsonRPCResponse {
id = myRequestId
result = myResult
}

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var result: Any?

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.