pub fn create_rpc_request(
request_id: Uuid,
rpc_request: RpcRequest,
content_type: ContentType,
) -> Result<Bytes>Expand description
Create an RPC request envelope
Returns an error if the payload exceeds MAX_RPC_PAYLOAD_SIZE (1 MB).
pub fn create_rpc_request(
request_id: Uuid,
rpc_request: RpcRequest,
content_type: ContentType,
) -> Result<Bytes>Create an RPC request envelope
Returns an error if the payload exceeds MAX_RPC_PAYLOAD_SIZE (1 MB).