tuweni / org.apache.tuweni.scuttlebutt.rpc / RPCRequestBody

RPCRequestBody

open class RPCRequestBody (source)

The request payload of an RPC request to another node. The fields are as specified in the scuttlebutt protocol docs

Constructors

<init>

RPCRequestBody(name: MutableList<String!>!, type: RPCRequestType!, args: MutableList<Any!>!)

Functions

asBytes

Serialize body to bytes.

open fun asBytes(objectMapper: ObjectMapper!): Bytes!

getArgs

open fun getArgs(): MutableList<Any!>!

getName

open fun getName(): MutableList<String!>!

getType

open fun getType(): RPCRequestType!