pub fn split_wire_payload(data: &str) -> Vec<&str>Expand description
Split a WebSocket text payload into one or more JSON objects.
The daemon may send newline-delimited JSON (NDJSON) in a single frame.
Each non-empty trimmed line is returned as a separate byte slice (Go
SplitSootheWirePayload parity).