call

@Suspendable
@NotNull
abstract fun call(@NotNull requestBody: ClientRequestBody): String

The business logic for this flow should be written here.

This is equivalent to the normal flow call method, where the output is fixed to being a JSON encoded string. Additionally, the call method is invoked with the body of the RPC request.

Return

A JSON encoded string to be supplied to the flow status on flow completion as the result.

Parameters

requestBody

The body of the RPC request that started this flow.