Skip to main content

howl_send_bytes

Function howl_send_bytes 

Source
pub fn howl_send_bytes(conn: &Value, bytes: &Value) -> DogeResult
Expand description

howl.send_bytes(conn, bytes) — write raw bytes to a connection, unchanged. Returns none. The binary counterpart of howl_send: use it to send arbitrary data (image, PDF, a framed HTTP body) that is not text. A broken pipe or a non-connection socket is a catchable error.