Skip to main content

Module splitter

Module splitter 

Source

Structs§

SplitterConfig
Configuration for the Splitter EIP.

Enums§

AggregationStrategy
Strategy for aggregating fragment results back into a single exchange.

Functions§

split_body
Split the exchange body using a custom function that operates on the body.
split_body_json_array
Split a JSON array body into one fragment per element. Non-array bodies produce an empty vec.
split_body_lines
Split the exchange body by newlines. Returns one fragment per line. Non-text bodies produce an empty vec.

Type Aliases§

SplitExpression
A function that splits a single exchange into multiple fragment exchanges.