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

toEncodedRpcMessage

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

Exceptions

JsonProcessingException - if an error was thrown while marshalling to JSON

Return
The byte representation for the request after it is marshalled into a JSON string.