common/tcp
Functions
pub fn connect(
options: ClamAvClientOptions,
callback: fn(Socket) -> Result(a, Error),
) -> Result(a, Error)
pub fn receive_bytes(
socket: Socket,
options: ClamAvClientOptions,
callback: fn(BitArray) -> Result(a, Error),
) -> Result(a, Error)
pub fn send_bytes(
socket: Socket,
bits: BitArray,
options: ClamAvClientOptions,
callback: fn() -> Result(a, Error),
) -> Result(a, Error)