Skip to main content

parse_line

Function parse_line 

Source
pub(crate) fn parse_line(
    line: &str,
    reply_to: &mut u64,
) -> Result<ClientMessage>
Expand description

One script line as a message to send.

The lines name what the protocol has rather than inventing a second vocabulary: a verb and its subject, and raw JSON where a message carries a payload, so the instrument sends what a client would send.