tuweni / 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>

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

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

Functions

getRPCFlags

The request flags

open fun getRPCFlags(): Array<RPCFlag!>!

toEncodedRpcMessage

Encodes message to bytes

open fun toEncodedRpcMessage(mapper: ObjectMapper!): Bytes!