Skip to main content

split_body_lines

Function split_body_lines 

Source
pub fn split_body_lines() -> SplitExpression
Expand description

Split the exchange body by newlines. Returns one fragment per line.

Empty bodies pass through with zero fragments. Wrong-type bodies return a CamelError::TypeConversionFailed naming the received body type and the expected text input.