scuttlebutt-rpc / org.apache.tuweni.scuttlebutt.rpc / RPCStreamRequest

RPCStreamRequest

open class RPCStreamRequest (source)

A request which returns a 'source' type result (e.g. opens up a stream that is followed by the request ID.)

Constructors

<init>

RPCStreamRequest(function: RPCFunction, arguments: MutableList<Any>)

The details for the function (the name of the function and its arguments.)

Functions

getRPCFlags

open fun getRPCFlags(): Array<RPCFlag>

toEncodedRpcMessage

open fun toEncodedRpcMessage(mapper: ObjectMapper): Bytes