tuweni / org.apache.tuweni.scuttlebutt.rpc / RPCResponse / <init>

<init>

RPCResponse(body: Bytes, bodyType: BodyType)

A successful RPC response.

Parameters

body - the body of the response in bytes

bodyType - the type of the response (e.g. JSON, UTF-8 or binary.)