SetIncomingDataToNetworkParamsHolderBody
fun EventSchemaBuilderScope.SetIncomingDataToNetworkParamsHolderBody(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {})
Stores incomingData as the request body in the client's NetworkParametersHolder, so a later request in the chain picks it up instead of carrying the body on its own schema. incomingData is required; any non-null value is accepted as-is. Dispatches onSuccess (no data) when the body was stored; onFailure (no data, logged) when incomingData is null.
Parameters
id
Unique identifier of this event. Defaults to a random id.
trigger
Trigger that fires this event, built via EventTriggers.
events
Child events chained after this one, wired to its triggers (onSuccess, onFailure).