Skip to main content

cast_bare

Function cast_bare 

Source
pub fn cast_bare(
    host: &str,
    port: u16,
    cmds: &[InjectionCommand],
) -> Result<(), AppError>
Expand description

Connect to host:port and send each command as a bare NDJSON line.

ยงErrors

AppError::internal on connect / write / flush failure, or AppError::internal from command serialization.