Skip to main content

connection_send

Function connection_send 

Source
pub fn connection_send(connection: &mut NativeConnection, buffer: &[u8]) -> i32
Expand description

Sends the complete buffer over the attached transport, retrying short writes.

§Parameters

§Returns

Returns the computed value produced by crate::connection::connection_send.

§Examples

ⓘ
let _result = pharos_runtime_core::connection::connection_send(todo!(), &mut []);