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

<init>

RPCResponse(body: Bytes!, bodyType: BodyType!)

A successful RPC response.

Parameters

body - Bytes!: the body of the response in bytes

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